home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / HyperCard / MagMaker 1.0 / Master Mag and Demo 1.0 / Master Mag and Demo 1.0
HyperCard Stack  |  1994-02-02  |  105.3 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: HyperCard Stack (archive/hypercard).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) magic Supported
1% dexvert PCP archive log (other/pcpArchiveLog) ext Unsupported
100% file data default
100% TrID HyperCard Stack default
100% siegfried fmt/1490 HyperCard Stack default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 64 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..d.STAK|........|
|00000010| 00 00 00 0a 00 01 a5 40 | 00 00 64 00 00 00 00 00 |.......@|..d.....|
|00000020| 00 00 00 00 00 00 00 04 | 00 00 0a e6 00 00 00 12 |........|........|
|00000030| 00 00 0b da 00 00 20 e7 | 00 00 00 00 00 00 00 00 |...... .|........|
|00000040| 00 00 0f be 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 02 20 80 00 02 20 80 00 | 02 10 80 00 02 10 80 00 |. ... ..|........|
|00000070| dc ae 85 d8 00 00 00 04 | 00 8c 00 a0 01 e4 02 a0 |........|........|
|00000080| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 0d eb 00 00 0c e4 | 01 58 02 00 00 00 00 00 |........|.X......|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 2d 2d 20 4d 61 67 4d 61 | 6b 65 72 20 4d 61 73 74 |-- MagMa|ker Mast|
|00000610| 65 72 20 4d 61 67 61 7a | 69 6e 65 20 73 63 72 69 |er Magaz|ine scri|
|00000620| 70 74 20 76 65 72 73 69 | 6f 6e 20 31 2e 30 31 0d |pt versi|on 1.01.|
|00000630| 0d 6f 6e 20 69 64 6c 65 | 0d 67 6c 6f 62 61 6c 20 |.on idle|.global |
|00000640| 6f 6c 64 57 69 6e 4c 6f | 63 0d 69 66 20 74 68 65 |oldWinLo|c.if the|
|00000650| 72 65 20 69 73 20 61 20 | 6d 65 6e 75 20 22 4d 61 |re is a |menu "Ma|
|00000660| 67 4d 61 6b 65 72 22 20 | 74 68 65 6e 0d 69 66 20 |gMaker" |then.if |
|00000670| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00000680| 77 20 22 42 6f 6f 6b 4d | 61 6b 65 72 54 6f 6f 6c |w "BookM|akerTool|
|00000690| 73 22 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |s" then.|set the |
|000006a0| 6e 61 6d 65 20 6f 66 20 | 6d 65 6e 75 49 74 65 6d |name of |menuItem|
|000006b0| 20 31 20 6f 66 20 6d 65 | 6e 75 20 22 4d 61 67 4d | 1 of me|nu "MagM|
|000006c0| 61 6b 65 72 22 20 74 6f | 20 22 48 69 64 65 20 54 |aker" to| "Hide T|
|000006d0| 6f 6f 6c 73 22 0d 65 6c | 73 65 0d 73 65 74 20 74 |ools".el|se.set t|
|000006e0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 6d 65 6e 75 49 |he name |of menuI|
|000006f0| 74 65 6d 20 31 20 6f 66 | 20 6d 65 6e 75 20 22 4d |tem 1 of| menu "M|
|00000700| 61 67 4d 61 6b 65 72 22 | 20 74 6f 20 22 53 68 6f |agMaker"| to "Sho|
|00000710| 77 20 54 6f 6f 6c 73 22 | 0d 65 6e 64 20 69 66 0d |w Tools"|.end if.|
|00000720| 65 6e 64 20 69 66 0d 69 | 66 20 74 68 65 72 65 20 |end if.i|f there |
|00000730| 69 73 20 61 20 77 69 6e | 64 6f 77 20 28 74 68 65 |is a win|dow (the|
|00000740| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00000750| 68 69 73 20 73 74 61 63 | 6b 29 20 74 68 65 6e 0d |his stac|k) then.|
|00000760| 69 66 20 6f 6c 64 57 69 | 6e 4c 6f 63 20 69 73 20 |if oldWi|nLoc is |
|00000770| 6e 6f 74 20 65 6d 70 74 | 79 20 61 6e 64 20 6f 6c |not empt|y and ol|
|00000780| 64 57 69 6e 4c 6f 63 20 | 69 73 20 6e 6f 74 20 74 |dWinLoc |is not t|
|00000790| 68 65 20 6c 6f 63 20 6f | 66 20 77 69 6e 64 6f 77 |he loc o|f window|
|000007a0| 20 28 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 | (the sh|ort name|
|000007b0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 29 20 | of this| stack) |
|000007c0| 74 68 65 6e 0d 6d 6f 76 | 65 50 69 63 74 0d 70 75 |then.mov|ePict.pu|
|000007d0| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 77 69 6e |t the lo|c of win|
|000007e0| 64 6f 77 20 28 74 68 65 | 20 73 68 6f 72 74 20 6e |dow (the| short n|
|000007f0| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00000800| 6b 29 20 69 6e 74 6f 20 | 6f 6c 64 57 69 6e 4c 6f |k) into |oldWinLo|
|00000810| 63 0d 65 6c 73 65 0d 70 | 75 74 20 74 68 65 20 6c |c.else.p|ut the l|
|00000820| 6f 63 20 6f 66 20 77 69 | 6e 64 6f 77 20 28 74 68 |oc of wi|ndow (th|
|00000830| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00000840| 74 68 69 73 20 73 74 61 | 63 6b 29 20 69 6e 74 6f |this sta|ck) into|
|00000850| 20 6f 6c 64 57 69 6e 4c | 6f 63 0d 65 6e 64 20 69 | oldWinL|oc.end i|
|00000860| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 69 64 6c |f.end if|.end idl|
|00000870| 65 0d 0d 6f 6e 20 6d 6f | 76 65 50 69 63 74 0d 69 |e..on mo|vePict.i|
|00000880| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00000890| 64 6f 77 20 28 69 74 65 | 6d 20 31 20 6f 66 20 66 |dow (ite|m 1 of f|
|000008a0| 6c 64 20 22 50 69 63 74 | 54 68 69 73 50 61 67 65 |ld "Pict|ThisPage|
|000008b0| 22 29 20 74 68 65 6e 0d | 73 65 74 20 74 68 65 20 |") then.|set the |
|000008c0| 6c 6f 63 20 6f 66 20 77 | 69 6e 64 6f 77 20 28 69 |loc of w|indow (i|
|000008d0| 74 65 6d 20 31 20 6f 66 | 20 66 6c 64 20 22 50 69 |tem 1 of| fld "Pi|
|000008e0| 63 74 54 68 69 73 50 61 | 67 65 22 29 20 74 6f 20 |ctThisPa|ge") to |
|000008f0| 28 69 74 65 6d 20 32 20 | 74 6f 20 33 20 6f 66 20 |(item 2 |to 3 of |
|00000900| 66 6c 64 20 22 50 69 63 | 74 54 68 69 73 50 61 67 |fld "Pic|tThisPag|
|00000910| 65 22 29 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 6d |e").end |if.end m|
|00000920| 6f 76 65 50 69 63 74 0d | 0d 0d 6f 6e 20 63 68 61 |ovePict.|..on cha|
|00000930| 70 50 6f 70 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |pPop.loc|k screen|
|00000940| 0d 6c 6f 63 6b 20 6d 65 | 73 73 61 67 65 73 0d 70 |.lock me|ssages.p|
|00000950| 75 73 68 20 63 64 0d 70 | 75 74 20 66 6c 64 20 22 |ush cd.p|ut fld "|
|00000960| 41 72 74 69 63 6c 65 4e | 61 6d 65 22 20 69 6e 74 |ArticleN|ame" int|
|00000970| 6f 20 63 75 72 43 68 61 | 70 0d 67 6f 20 63 64 20 |o curCha|p.go cd |
|00000980| 22 54 61 62 6c 65 20 6f | 66 20 43 6f 6e 74 65 6e |"Table o|f Conten|
|00000990| 74 73 22 0d 70 75 74 20 | 63 64 20 66 6c 64 20 22 |ts".put |cd fld "|
|000009a0| 54 61 62 6c 65 31 22 20 | 69 6e 74 6f 20 74 68 65 |Table1" |into the|
|000009b0| 43 68 61 70 73 0d 69 66 | 20 74 68 65 72 65 20 69 |Chaps.if| there i|
|000009c0| 73 20 61 20 63 64 20 66 | 6c 64 20 22 54 61 62 6c |s a cd f|ld "Tabl|
|000009d0| 65 32 22 20 74 68 65 6e | 0d 69 66 20 63 64 20 66 |e2" then|.if cd f|
|000009e0| 6c 64 20 22 54 61 62 6c | 65 32 22 20 69 73 20 6e |ld "Tabl|e2" is n|
|000009f0| 6f 74 20 22 22 20 74 68 | 65 6e 0d 70 75 74 20 72 |ot "" th|en.put r|
|00000a00| 65 74 75 72 6e 20 26 20 | 63 64 20 66 6c 64 20 22 |eturn & |cd fld "|
|00000a10| 54 61 62 6c 65 32 22 20 | 61 66 74 65 72 20 74 68 |Table2" |after th|
|00000a20| 65 43 68 61 70 73 0d 65 | 6e 64 20 69 66 0d 65 6e |eChaps.e|nd if.en|
|00000a30| 64 20 69 66 0d 72 65 70 | 65 61 74 20 77 69 74 68 |d if.rep|eat with|
|00000a40| 20 78 20 3d 20 31 20 74 | 6f 20 28 74 68 65 20 6e | x = 1 t|o (the n|
|00000a50| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00000a60| 66 20 74 68 65 43 68 61 | 70 73 29 0d 69 66 20 6c |f theCha|ps).if l|
|00000a70| 69 6e 65 20 78 20 6f 66 | 20 74 68 65 43 68 61 70 |ine x of| theChap|
|00000a80| 73 20 69 73 20 63 75 72 | 43 68 61 70 20 74 68 65 |s is cur|Chap the|
|00000a90| 6e 0d 70 75 74 20 78 20 | 2b 20 31 20 69 6e 74 6f |n.put x |+ 1 into|
|00000aa0| 20 63 75 72 4c 69 6e 65 | 0d 65 78 69 74 20 72 65 | curLine|.exit re|
|00000ab0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00000ac0| 72 65 70 65 61 74 0d 70 | 75 74 20 69 74 65 6d 20 |repeat.p|ut item |
|00000ad0| 31 20 6f 66 20 72 65 63 | 74 20 6f 66 20 74 68 65 |1 of rec|t of the|
|00000ae0| 20 74 61 72 67 65 74 20 | 2b 20 31 20 20 26 20 22 | target |+ 1 & "|
|00000af0| 2c 22 20 69 6e 74 6f 20 | 54 68 65 4d 65 6e 75 4c |," into |TheMenuL|
|00000b00| 6f 63 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |oc.put i|tem 2 of|
|00000b10| 20 72 65 63 74 20 6f 66 | 20 74 68 65 20 74 61 72 | rect of| the tar|
|00000b20| 67 65 74 20 2b 20 33 20 | 61 66 74 65 72 20 54 68 |get + 3 |after Th|
|00000b30| 65 4d 65 6e 75 4c 6f 63 | 0d 70 75 74 20 70 6f 70 |eMenuLoc|.put pop|
|00000b40| 55 70 4d 65 6e 75 28 22 | 54 61 62 6c 65 20 6f 66 |UpMenu("|Table of|
|00000b50| 20 43 6f 6e 74 65 6e 74 | 73 22 20 26 20 72 65 74 | Content|s" & ret|
|00000b60| 75 72 6e 20 26 20 74 68 | 65 43 68 61 70 73 2c 54 |urn & th|eChaps,T|
|00000b70| 68 65 4d 65 6e 75 4c 6f | 63 2c 63 75 72 4c 69 6e |heMenuLo|c,curLin|
|00000b80| 65 2c 22 50 61 6c 61 74 | 69 6e 6f 22 2c 22 31 34 |e,"Palat|ino","14|
|00000b90| 22 29 20 69 6e 74 6f 20 | 70 69 63 6b 65 64 43 68 |") into |pickedCh|
|00000ba0| 61 70 0d 70 75 74 20 28 | 6c 69 6e 65 20 32 20 6f |ap.put (|line 2 o|
|00000bb0| 66 20 70 69 63 6b 65 64 | 43 68 61 70 20 2d 20 31 |f picked|Chap - 1|
|00000bc0| 29 20 69 6e 74 6f 20 72 | 69 67 68 74 4c 69 6e 65 |) into r|ightLine|
|00000bd0| 0d 69 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 70 69 |.if line| 1 of pi|
|00000be0| 63 6b 65 64 43 68 61 70 | 20 69 73 20 22 54 61 62 |ckedChap| is "Tab|
|00000bf0| 6c 65 20 6f 66 20 43 6f | 6e 74 65 6e 74 73 22 20 |le of Co|ntents" |
|00000c00| 74 68 65 6e 0d 70 75 74 | 20 22 54 61 62 6c 65 20 |then.put| "Table |
|00000c10| 6f 66 20 43 6f 6e 74 65 | 6e 74 73 22 20 69 6e 74 |of Conte|nts" int|
|00000c20| 6f 20 67 6f 43 64 0d 65 | 78 69 74 20 63 68 61 70 |o goCd.e|xit chap|
|00000c30| 50 6f 70 0d 65 6c 73 65 | 0d 67 6f 20 63 64 20 22 |Pop.else|.go cd "|
|00000c40| 54 61 62 6c 65 20 6f 66 | 20 43 6f 6e 74 65 6e 74 |Table of| Content|
|00000c50| 73 22 0d 70 75 74 20 6c | 69 6e 65 20 31 20 6f 66 |s".put l|ine 1 of|
|00000c60| 20 70 69 63 6b 65 64 43 | 68 61 70 20 69 6e 74 6f | pickedC|hap into|
|00000c70| 20 74 68 69 73 43 68 61 | 70 0d 69 66 20 74 68 69 | thisCha|p.if thi|
|00000c80| 73 43 68 61 70 20 69 73 | 20 69 6e 20 63 64 20 66 |sChap is| in cd f|
|00000c90| 6c 64 20 22 54 61 62 6c | 65 31 22 20 74 68 65 6e |ld "Tabl|e1" then|
|00000ca0| 0d 70 75 74 20 77 6f 72 | 64 20 31 20 6f 66 20 6c |.put wor|d 1 of l|
|00000cb0| 69 6e 65 20 72 69 67 68 | 74 4c 69 6e 65 20 6f 66 |ine righ|tLine of|
|00000cc0| 20 63 64 20 66 6c 64 20 | 22 50 61 67 65 31 22 20 | cd fld |"Page1" |
|00000cd0| 69 6e 74 6f 20 67 6f 43 | 64 0d 65 6c 73 65 0d 70 |into goC|d.else.p|
|00000ce0| 75 74 20 77 6f 72 64 20 | 31 20 6f 66 20 6c 69 6e |ut word |1 of lin|
|00000cf0| 65 20 28 72 69 67 68 74 | 4c 69 6e 65 20 2d 20 28 |e (right|Line - (|
|00000d00| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00000d10| 6e 65 73 20 6f 66 20 63 | 64 20 66 6c 64 20 22 50 |nes of c|d fld "P|
|00000d20| 61 67 65 31 22 29 29 20 | 6f 66 20 63 64 20 66 6c |age1")) |of cd fl|
|00000d30| 64 20 22 50 61 67 65 32 | 22 20 69 6e 74 6f 20 67 |d "Page2|" into g|
|00000d40| 6f 43 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |oCd.end |if.end i|
|00000d50| 66 0d 70 6f 70 20 63 64 | 0d 75 6e 6c 6f 63 6b 20 |f.pop cd|.unlock |
|00000d60| 73 63 72 65 65 6e 0d 63 | 6c 6f 73 65 54 68 65 50 |screen.c|loseTheP|
|00000d70| 69 63 74 20 28 69 74 65 | 6d 20 31 20 6f 66 20 66 |ict (ite|m 1 of f|
|00000d80| 6c 64 20 22 50 69 63 74 | 54 68 69 73 50 61 67 65 |ld "Pict|ThisPage|
|00000d90| 22 29 0d 67 6f 20 63 64 | 20 67 6f 43 64 0d 73 65 |").go cd| goCd.se|
|00000da0| 6e 64 20 6f 70 65 6e 43 | 61 72 64 20 74 6f 20 74 |nd openC|ard to t|
|00000db0| 68 69 73 20 63 64 0d 75 | 6e 6c 6f 63 6b 20 6d 65 |his cd.u|nlock me|
|00000dc0| 73 73 61 67 65 73 0d 65 | 6e 64 20 63 68 61 70 50 |ssages.e|nd chapP|
|00000dd0| 6f 70 0d 0d 6f 6e 20 63 | 6c 6f 73 65 54 68 65 50 |op..on c|loseTheP|
|00000de0| 69 63 74 20 77 68 61 74 | 50 69 63 74 0d 69 66 20 |ict what|Pict.if |
|00000df0| 77 68 61 74 50 69 63 74 | 20 69 73 20 69 6e 20 74 |whatPict| is in t|
|00000e00| 68 65 20 77 69 6e 64 6f | 77 73 20 74 68 65 6e 0d |he windo|ws then.|
|00000e10| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 77 68 61 |close wi|ndow wha|
|00000e20| 74 50 69 63 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |tPict.en|d if.end|
|00000e30| 20 63 6c 6f 73 65 54 68 | 65 50 69 63 74 0d 0d 0d | closeTh|ePict...|
|00000e40| 6f 6e 20 6d 6f 75 73 65 | 55 70 49 6e 50 69 63 74 |on mouse|UpInPict|
|00000e50| 75 72 65 0d 67 6c 6f 62 | 61 6c 20 63 68 61 6e 67 |ure.glob|al chang|
|00000e60| 65 4c 6f 63 0d 68 69 64 | 65 20 77 69 6e 64 6f 77 |eLoc.hid|e window|
|00000e70| 20 70 61 72 61 6d 28 31 | 29 0d 69 66 20 63 68 61 | param(1|).if cha|
|00000e80| 6e 67 65 4c 6f 63 20 69 | 73 20 6e 6f 74 20 22 74 |ngeLoc i|s not "t|
|00000e90| 72 75 65 22 20 74 68 65 | 6e 0d 73 65 6e 64 20 6d |rue" the|n.send m|
|00000ea0| 6f 75 73 65 55 70 20 74 | 6f 20 74 68 69 73 20 62 |ouseUp t|o this b|
|00000eb0| 67 0d 65 6c 73 65 20 70 | 61 73 73 20 6d 6f 75 73 |g.else p|ass mous|
|00000ec0| 65 55 70 49 6e 50 69 63 | 74 75 72 65 0d 65 6e 64 |eUpInPic|ture.end|
|00000ed0| 20 6d 6f 75 73 65 55 70 | 49 6e 50 69 63 74 75 72 | mouseUp|InPictur|
|00000ee0| 65 0d 0d 0d 6f 6e 20 6f | 70 65 6e 53 74 61 63 6b |e...on o|penStack|
|00000ef0| 0d 67 6c 6f 62 61 6c 20 | 64 6f 44 69 74 68 65 72 |.global |doDither|
|00000f00| 2c 69 73 43 6f 6c 6f 72 | 0d 70 75 74 20 70 61 72 |,isColor|.put par|
|00000f10| 61 6d 28 31 29 20 69 6e | 74 6f 20 77 68 61 74 42 |am(1) in|to whatB|
|00000f20| 6f 6f 6b 0d 69 66 20 77 | 72 6f 6e 67 53 74 61 63 |ook.if w|rongStac|
|00000f30| 6b 28 29 20 74 68 65 6e | 20 70 61 73 73 20 6f 70 |k() then| pass op|
|00000f40| 65 6e 53 74 61 63 6b 0d | 70 75 74 20 47 65 74 6d |enStack.|put Getm|
|00000f50| 6f 6e 69 74 6f 72 73 28 | 29 20 69 6e 74 6f 20 74 |onitors(|) into t|
|00000f60| 68 65 4d 6f 6e 69 74 6f | 72 73 0d 70 75 74 20 69 |heMonito|rs.put i|
|00000f70| 74 65 6d 20 33 20 6f 66 | 20 74 68 65 4d 6f 6e 69 |tem 3 of| theMoni|
|00000f80| 74 6f 72 73 20 69 6e 74 | 6f 20 69 73 43 6f 6c 6f |tors int|o isColo|
|00000f90| 72 0d 69 66 20 69 74 65 | 6d 20 34 20 6f 66 20 74 |r.if ite|m 4 of t|
|00000fa0| 68 65 4d 6f 6e 69 74 6f | 72 73 20 69 73 20 31 20 |heMonito|rs is 1 |
|00000fb0| 74 68 65 6e 20 70 75 74 | 20 74 72 75 65 20 69 6e |then put| true in|
|00000fc0| 74 6f 20 64 6f 44 69 74 | 68 65 72 0d 65 6c 73 65 |to doDit|her.else|
|00000fd0| 20 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 | put fal|se into |
|00000fe0| 64 6f 44 69 74 68 65 72 | 0d 67 6c 6f 62 61 6c 20 |doDither|.global |
|00000ff0| 62 65 65 6e 50 6c 61 79 | 65 64 2c 69 73 54 68 65 |beenPlay|ed,isThe|
|00001000| 72 65 4d 61 67 4d 61 6b | 65 72 0d 69 66 20 74 68 |reMagMak|er.if th|
|00001010| 65 20 66 72 65 65 53 69 | 7a 65 20 6f 66 20 74 68 |e freeSi|ze of th|
|00001020| 69 73 20 73 74 61 63 6b | 20 3e 20 2e 31 35 20 2a |is stack| > .15 *|
|00001030| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 69 | the siz|e of thi|
|00001040| 73 20 73 74 61 63 6b 20 | 74 68 65 6e 0d 64 6f 4d |s stack |then.doM|
|00001050| 65 6e 75 20 22 43 6f 6d | 70 61 63 74 20 53 74 61 |enu "Com|pact Sta|
|00001060| 63 6b 22 0d 65 6e 64 20 | 69 66 0d 70 75 73 68 20 |ck".end |if.push |
|00001070| 63 64 0d 0d 2d 2d 20 66 | 6f 6c 6c 6f 77 69 6e 67 |cd..-- f|ollowing|
|00001080| 20 68 61 6e 64 6c 65 72 | 20 63 68 65 63 6b 73 20 | handler| checks |
|00001090| 74 6f 20 73 65 65 20 69 | 66 20 74 68 65 20 22 4d |to see i|f the "M|
|000010a0| 61 67 4d 61 6b 65 72 20 | 54 6f 6f 6c 73 22 20 73 |agMaker |Tools" s|
|000010b0| 74 61 63 6b 73 20 61 72 | 65 20 69 6e 73 74 61 6c |tacks ar|e instal|
|000010c0| 6c 65 64 2e 0d 2d 2d 20 | 54 68 65 20 22 4d 61 67 |led..-- |The "Mag|
|000010d0| 4d 61 6b 65 72 20 54 6f | 6f 6c 73 22 20 73 74 61 |Maker To|ols" sta|
|000010e0| 63 6b 73 20 74 75 72 6e | 20 48 79 70 65 72 43 61 |cks turn| HyperCa|
|000010f0| 72 64 20 69 6e 74 6f 20 | 61 6e 20 65 6c 65 63 74 |rd into |an elect|
|00001100| 72 6f 6e 69 63 20 6d 61 | 67 61 7a 69 6e 65 73 20 |ronic ma|gazines |
|00001110| 70 75 62 6c 69 73 68 65 | 72 0d 2d 2d 20 74 68 61 |publishe|r.-- tha|
|00001120| 74 20 69 6d 70 6f 72 74 | 73 20 74 65 78 74 2c 20 |t import|s text, |
|00001130| 70 69 63 74 75 72 65 73 | 2c 20 70 61 67 69 6e 61 |pictures|, pagina|
|00001140| 74 65 73 20 74 68 65 20 | 74 65 78 74 20 61 6e 64 |tes the |text and|
|00001150| 20 6c 65 74 73 20 79 6f | 75 0d 2d 2d 20 64 65 66 | lets yo|u.-- def|
|00001160| 69 6e 65 20 70 69 63 74 | 75 72 65 20 62 6f 78 65 |ine pict|ure boxe|
|00001170| 73 20 66 6f 72 20 67 72 | 61 70 68 69 63 73 2e 0d |s for gr|aphics..|
|00001180| 0d 6c 6f 63 6b 20 6d 65 | 73 73 61 67 65 73 0d 6c |.lock me|ssages.l|
|00001190| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 70 75 74 20 65 |ock scre|en.put e|
|000011a0| 6d 70 74 79 20 69 6e 74 | 6f 20 6d 61 67 56 65 72 |mpty int|o magVer|
|000011b0| 73 69 6f 6e 0d 69 66 20 | 77 68 61 74 42 6f 6f 6b |sion.if |whatBook|
|000011c0| 20 69 73 20 65 6d 70 74 | 79 20 61 6e 64 20 74 68 | is empt|y and th|
|000011d0| 65 20 75 73 65 72 4c 65 | 76 65 6c 20 3d 20 35 20 |e userLe|vel = 5 |
|000011e0| 74 68 65 6e 0d 69 66 20 | 74 68 65 72 65 20 69 73 |then.if |there is|
|000011f0| 20 61 20 66 6c 64 20 22 | 56 65 72 73 69 6f 6e 22 | a fld "|Version"|
|00001200| 20 6f 66 20 63 64 20 22 | 54 61 62 6c 65 20 6f 66 | of cd "|Table of|
|00001210| 20 43 6f 6e 74 65 6e 74 | 73 22 20 74 68 65 6e 0d | Content|s" then.|
|00001220| 70 75 74 20 66 6c 64 20 | 22 56 65 72 73 69 6f 6e |put fld |"Version|
|00001230| 22 20 6f 66 20 63 64 20 | 22 54 61 62 6c 65 20 6f |" of cd |"Table o|
|00001240| 66 20 43 6f 6e 74 65 6e | 74 73 22 20 69 6e 74 6f |f Conten|ts" into|
|00001250| 20 6d 61 67 56 65 72 73 | 69 6f 6e 0d 65 6e 64 20 | magVers|ion.end |
|00001260| 69 66 0d 67 6f 20 73 74 | 61 63 6b 20 22 4d 61 67 |if.go st|ack "Mag|
|00001270| 4d 61 6b 65 72 20 54 6f | 6f 6c 73 20 41 22 20 77 |Maker To|ols A" w|
|00001280| 69 74 68 6f 75 74 20 64 | 69 61 6c 6f 67 0d 69 66 |ithout d|ialog.if|
|00001290| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 65 | the res|ult is e|
|000012a0| 6d 70 74 79 20 74 68 65 | 6e 0d 69 66 20 74 68 65 |mpty the|n.if the|
|000012b0| 20 66 72 65 65 53 69 7a | 65 20 6f 66 20 74 68 69 | freeSiz|e of thi|
|000012c0| 73 20 73 74 61 63 6b 20 | 3e 20 2e 31 30 20 2a 20 |s stack |> .10 * |
|000012d0| 74 68 65 20 73 69 7a 65 | 20 6f 66 20 74 68 69 73 |the size| of this|
|000012e0| 20 73 74 61 63 6b 20 74 | 68 65 6e 0d 64 6f 4d 65 | stack t|hen.doMe|
|000012f0| 6e 75 20 22 43 6f 6d 70 | 61 63 74 20 53 74 61 63 |nu "Comp|act Stac|
|00001300| 6b 22 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |k".end i|f.if the|
|00001310| 72 65 20 69 73 20 61 20 | 66 6c 64 20 22 56 65 72 |re is a |fld "Ver|
|00001320| 73 69 6f 6e 22 20 74 68 | 65 6e 0d 69 66 20 66 6c |sion" th|en.if fl|
|00001330| 64 20 22 56 65 72 73 69 | 6f 6e 22 20 ad 20 6d 61 |d "Versi|on" . ma|
|00001340| 67 56 65 72 73 69 6f 6e | 20 6f 72 20 6d 61 67 56 |gVersion| or magV|
|00001350| 65 72 73 69 6f 6e 20 69 | 73 20 65 6d 70 74 79 20 |ersion i|s empty |
|00001360| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 54 68 69 |then.ans|wer "Thi|
|00001370| 73 20 6d 61 67 61 7a 69 | 6e 65 20 77 61 73 20 63 |s magazi|ne was c|
|00001380| 72 65 61 74 65 64 20 75 | 73 69 6e 67 20 4d 61 67 |reated u|sing Mag|
|00001390| 4d 61 6b 65 72 20 54 6f | 6f 6c 73 20 76 65 72 73 |Maker To|ols vers|
|000013a0| 69 6f 6e 20 22 20 26 20 | 6d 61 67 56 65 72 73 69 |ion " & |magVersi|
|000013b0| 6f 6e 20 26 20 22 2e 20 | 59 6f 75 20 68 61 76 65 |on & ". |You have|
|000013c0| 20 76 65 72 73 69 6f 6e | 20 22 20 26 20 c2 0d 66 | version| " & ..f|
|000013d0| 6c 64 20 22 56 65 72 73 | 69 6f 6e 22 20 26 20 22 |ld "Vers|ion" & "|
|000013e0| 20 63 75 72 72 65 6e 74 | 6c 79 20 69 6e 73 74 61 | current|ly insta|
|000013f0| 6c 6c 65 64 2e 20 57 6f | 75 6c 64 20 79 6f 75 20 |lled. Wo|uld you |
|00001400| 6c 69 6b 65 20 74 6f 20 | 75 70 64 61 74 65 20 74 |like to |update t|
|00001410| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 3f 22 20 77 |his docu|ment?" w|
|00001420| 69 74 68 20 22 43 61 6e | 63 65 6c 22 20 6f 72 20 |ith "Can|cel" or |
|00001430| 22 55 70 64 61 74 65 22 | 0d 69 66 20 69 74 20 69 |"Update"|.if it i|
|00001440| 73 20 22 55 70 64 61 74 | 65 22 20 74 68 65 6e 0d |s "Updat|e" then.|
|00001450| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 64 6f |put true| into do|
|00001460| 4e 65 77 53 63 72 69 70 | 74 0d 65 6e 64 20 69 66 |NewScrip|t.end if|
|00001470| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|00001480| 66 20 74 68 65 20 75 73 | 65 72 4c 65 76 65 6c 20 |f the us|erLevel |
|00001490| 3d 20 35 20 74 68 65 6e | 0d 67 6f 20 73 74 61 63 |= 5 then|.go stac|
|000014a0| 6b 20 22 4d 61 67 4d 61 | 6b 65 72 20 54 6f 6f 6c |k "MagMa|ker Tool|
|000014b0| 73 20 42 22 20 77 69 74 | 68 6f 75 74 20 64 69 61 |s B" wit|hout dia|
|000014c0| 6c 6f 67 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |log.if t|he resul|
|000014d0| 74 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |t is emp|ty then.|
|000014e0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 77 68 |put true| into wh|
|000014f0| 61 74 42 6f 6f 6b 0d 69 | 66 20 74 68 65 20 66 72 |atBook.i|f the fr|
|00001500| 65 65 53 69 7a 65 20 6f | 66 20 74 68 69 73 20 73 |eeSize o|f this s|
|00001510| 74 61 63 6b 20 3e 20 2e | 31 30 20 2a 20 74 68 65 |tack > .|10 * the|
|00001520| 20 73 69 7a 65 20 6f 66 | 20 74 68 69 73 20 73 74 | size of| this st|
|00001530| 61 63 6b 20 74 68 65 6e | 0d 64 6f 4d 65 6e 75 20 |ack then|.doMenu |
|00001540| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 6b 22 0d |"Compact| Stack".|
|00001550| 65 6e 64 20 69 66 0d 70 | 6f 70 20 63 64 0d 73 74 |end if.p|op cd.st|
|00001560| 61 72 74 20 75 73 69 6e | 67 20 73 74 61 63 6b 20 |art usin|g stack |
|00001570| 22 4d 61 67 4d 61 6b 65 | 72 20 54 6f 6f 6c 73 20 |"MagMake|r Tools |
|00001580| 41 22 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |A".put t|he short|
|00001590| 20 69 64 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 | id of t|his bg i|
|000015a0| 6e 74 6f 20 73 74 6f 70 | 43 64 0d 70 75 73 68 20 |nto stop|Cd.push |
|000015b0| 63 64 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |cd.repea|t until |
|000015c0| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 64 6f 77 |the mous|e is dow|
|000015d0| 6e 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |n.if the|re is a |
|000015e0| 62 67 20 62 74 6e 20 22 | 54 68 65 54 6f 6f 6c 42 |bg btn "|TheToolB|
|000015f0| 74 6e 22 20 74 68 65 6e | 20 73 68 6f 77 20 62 67 |tn" then| show bg|
|00001600| 20 62 74 6e 20 22 54 68 | 65 54 6f 6f 6c 42 74 6e | btn "Th|eToolBtn|
|00001610| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00001620| 62 67 20 62 74 6e 20 22 | 4c 6f 63 6b 50 61 67 65 |bg btn "|LockPage|
|00001630| 22 20 74 68 65 6e 20 73 | 68 6f 77 20 62 67 20 62 |" then s|how bg b|
|00001640| 74 6e 20 22 4c 6f 63 6b | 50 61 67 65 22 0d 67 6f |tn "Lock|Page".go|
|00001650| 20 6e 65 78 74 20 62 67 | 0d 69 66 20 74 68 65 20 | next bg|.if the |
|00001660| 73 68 6f 72 74 20 69 64 | 20 6f 66 20 74 68 69 73 |short id| of this|
|00001670| 20 62 67 20 69 73 20 73 | 74 6f 70 43 64 20 74 68 | bg is s|topCd th|
|00001680| 65 6e 20 65 78 69 74 20 | 72 65 70 65 61 74 0d 65 |en exit |repeat.e|
|00001690| 6e 64 20 72 65 70 65 61 | 74 0d 70 6f 70 20 63 64 |nd repea|t.pop cd|
|000016a0| 0d 73 74 61 72 74 20 75 | 73 69 6e 67 20 73 74 61 |.start u|sing sta|
|000016b0| 63 6b 20 22 4d 61 67 4d | 61 6b 65 72 20 54 6f 6f |ck "MagM|aker Too|
|000016c0| 6c 73 20 42 22 0d 70 75 | 74 20 74 72 75 65 20 69 |ls B".pu|t true i|
|000016d0| 6e 74 6f 20 77 68 61 74 | 42 6f 6f 6b 0d 65 6c 73 |nto what|Book.els|
|000016e0| 65 0d 61 6e 73 77 65 72 | 20 22 55 6e 61 62 6c 65 |e.answer| "Unable|
|000016f0| 20 74 6f 20 66 69 6e 64 | 20 22 20 26 20 71 75 6f | to find| " & quo|
|00001700| 74 65 20 26 20 22 4d 61 | 67 4d 61 6b 65 72 20 54 |te & "Ma|gMaker T|
|00001710| 6f 6f 6c 73 20 42 2e 22 | 20 26 20 71 75 6f 74 65 |ools B."| & quote|
|00001720| 20 26 20 22 20 4d 61 67 | 4d 61 6b 65 72 20 74 6f | & " Mag|Maker to|
|00001730| 6f 6c 73 20 61 72 65 20 | 6e 6f 74 20 61 76 61 69 |ols are |not avai|
|00001740| 6c 62 61 6c 65 2e 22 0d | 70 6f 70 20 63 64 0d 65 |lbale.".|pop cd.e|
|00001750| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00001760| 20 69 66 0d 65 6e 64 20 | 69 66 0d 69 66 20 64 6f | if.end |if.if do|
|00001770| 4e 65 77 53 63 72 69 70 | 74 20 69 73 20 74 72 75 |NewScrip|t is tru|
|00001780| 65 20 74 68 65 6e 20 75 | 70 64 61 74 65 53 74 61 |e then u|pdateSta|
|00001790| 63 6b 53 63 72 69 70 74 | 0d 69 66 20 22 54 6f 6f |ckScript|.if "Too|
|000017a0| 6c 73 20 41 22 20 69 73 | 20 6e 6f 74 20 69 6e 20 |ls A" is| not in |
|000017b0| 74 68 65 20 73 74 61 63 | 6b 73 49 6e 55 73 65 20 |the stac|ksInUse |
|000017c0| 6f 72 20 22 54 6f 6f 6c | 73 20 42 22 20 69 73 20 |or "Tool|s B" is |
|000017d0| 6e 6f 74 20 69 6e 20 74 | 68 65 20 73 74 61 63 6b |not in t|he stack|
|000017e0| 73 49 6e 55 73 65 20 74 | 68 65 6e 0d 70 6f 70 20 |sInUse t|hen.pop |
|000017f0| 63 64 0d 70 75 74 20 74 | 68 65 20 73 68 6f 72 74 |cd.put t|he short|
|00001800| 20 69 64 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 | id of t|his bg i|
|00001810| 6e 74 6f 20 73 74 6f 70 | 43 64 0d 70 75 73 68 20 |nto stop|Cd.push |
|00001820| 63 64 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |cd.repea|t until |
|00001830| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 64 6f 77 |the mous|e is dow|
|00001840| 6e 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |n.if the|re is a |
|00001850| 62 67 20 62 74 6e 20 22 | 54 68 65 54 6f 6f 6c 42 |bg btn "|TheToolB|
|00001860| 74 6e 22 20 74 68 65 6e | 20 68 69 64 65 20 62 67 |tn" then| hide bg|
|00001870| 20 62 74 6e 20 22 54 68 | 65 54 6f 6f 6c 42 74 6e | btn "Th|eToolBtn|
|00001880| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00001890| 62 67 20 62 74 6e 20 22 | 4c 6f 63 6b 50 61 67 65 |bg btn "|LockPage|
|000018a0| 22 20 74 68 65 6e 20 68 | 69 64 65 20 62 67 20 62 |" then h|ide bg b|
|000018b0| 74 6e 20 22 4c 6f 63 6b | 50 61 67 65 22 0d 69 66 |tn "Lock|Page".if|
|000018c0| 20 74 68 65 72 65 20 69 | 73 20 61 20 66 6c 64 20 | there i|s a fld |
|000018d0| 22 50 69 63 74 54 68 69 | 73 50 61 67 65 22 20 74 |"PictThi|sPage" t|
|000018e0| 68 65 6e 20 68 69 64 65 | 20 66 6c 64 20 22 50 69 |hen hide| fld "Pi|
|000018f0| 63 74 54 68 69 73 50 61 | 67 65 22 0d 69 66 20 74 |ctThisPa|ge".if t|
|00001900| 68 65 72 65 20 69 73 20 | 61 20 66 6c 64 20 22 50 |here is |a fld "P|
|00001910| 69 63 74 4c 69 73 74 22 | 20 74 68 65 6e 20 68 69 |ictList"| then hi|
|00001920| 64 65 20 66 6c 64 20 22 | 50 69 63 74 4c 69 73 74 |de fld "|PictList|
|00001930| 22 0d 67 6f 20 6e 65 78 | 74 20 62 67 0d 69 66 20 |".go nex|t bg.if |
|00001940| 74 68 65 20 73 68 6f 72 | 74 20 69 64 20 6f 66 20 |the shor|t id of |
|00001950| 74 68 69 73 20 62 67 20 | 69 73 20 73 74 6f 70 43 |this bg |is stopC|
|00001960| 64 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |d then e|xit repe|
|00001970| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 6f |at.end r|epeat.po|
|00001980| 70 20 63 64 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |p cd.put| empty i|
|00001990| 6e 74 6f 20 69 73 54 68 | 65 72 65 4d 61 67 4d 61 |nto isTh|ereMagMa|
|000019a0| 6b 65 72 0d 73 65 74 20 | 74 68 65 20 6c 6f 63 6b |ker.set |the lock|
|000019b0| 54 65 78 74 20 6f 66 20 | 66 6c 64 20 22 42 6f 64 |Text of |fld "Bod|
|000019c0| 79 22 20 74 6f 20 74 72 | 75 65 0d 65 6e 64 20 69 |y" to tr|ue.end i|
|000019d0| 66 0d 75 6e 6c 6f 63 6b | 20 6d 65 73 73 61 67 65 |f.unlock| message|
|000019e0| 73 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |s.unlock| screen.|
|000019f0| 0d 6e 61 76 69 67 61 74 | 69 6f 6e 4d 65 6e 75 73 |.navigat|ionMenus|
|00001a00| 20 77 68 61 74 42 6f 6f | 6b 0d 69 66 20 66 6c 64 | whatBoo|k.if fld|
|00001a10| 20 22 42 6f 6f 6b 4d 61 | 72 6b 22 20 6f 66 20 63 | "BookMa|rk" of c|
|00001a20| 64 20 22 54 61 62 6c 65 | 20 6f 66 20 43 6f 6e 74 |d "Table| of Cont|
|00001a30| 65 6e 74 73 22 20 69 73 | 20 6e 6f 74 20 65 6d 70 |ents" is| not emp|
|00001a40| 74 79 20 74 68 65 6e 20 | 67 6f 20 63 64 20 69 64 |ty then |go cd id|
|00001a50| 20 28 66 6c 64 20 22 42 | 6f 6f 6b 4d 61 72 6b 22 | (fld "B|ookMark"|
|00001a60| 20 6f 66 20 63 64 20 22 | 54 61 62 6c 65 20 6f 66 | of cd "|Table of|
|00001a70| 20 43 6f 6e 74 65 6e 74 | 73 22 29 0d 65 6c 73 65 | Content|s").else|
|00001a80| 0d 69 66 20 62 65 65 6e | 50 6c 61 79 65 64 20 69 |.if been|Played i|
|00001a90| 73 20 6e 6f 74 20 74 72 | 75 65 20 74 68 65 6e 0d |s not tr|ue then.|
|00001aa0| 70 6c 61 79 54 69 74 6c | 65 20 2d 2d 20 61 6e 69 |playTitl|e -- ani|
|00001ab0| 6d 61 74 65 73 20 6f 70 | 65 6e 69 6e 67 0d 70 75 |mates op|ening.pu|
|00001ac0| 74 20 74 72 75 65 20 69 | 6e 74 6f 20 62 65 65 6e |t true i|nto been|
|00001ad0| 50 6c 61 79 65 64 0d 65 | 78 69 74 20 6f 70 65 6e |Played.e|xit open|
|00001ae0| 53 74 61 63 6b 0d 65 6e | 64 20 69 66 0d 65 6e 64 |Stack.en|d if.end|
|00001af0| 20 69 66 0d 69 66 20 69 | 74 65 6d 20 36 20 6f 66 | if.if i|tem 6 of|
|00001b00| 20 74 68 65 4d 6f 6e 69 | 74 6f 72 73 20 3c 20 35 | theMoni|tors < 5|
|00001b10| 31 33 20 61 6e 64 20 77 | 68 61 74 42 6f 6f 6b 20 |13 and w|hatBook |
|00001b20| 69 73 20 74 72 75 65 20 | 61 6e 64 20 74 68 65 72 |is true |and ther|
|00001b30| 65 20 69 73 20 61 20 6d | 65 6e 75 20 22 4d 61 67 |e is a m|enu "Mag|
|00001b40| 4d 61 6b 65 72 22 20 74 | 68 65 6e 0d 61 6e 73 77 |Maker" t|hen.answ|
|00001b50| 65 72 20 22 4d 61 67 4d | 61 6b 65 72 20 6e 65 65 |er "MagM|aker nee|
|00001b60| 64 73 20 61 20 31 32 20 | 69 6e 63 68 20 73 63 72 |ds a 12 |inch scr|
|00001b70| 65 65 6e 20 6f 72 20 6c | 61 72 67 65 72 20 74 6f |een or l|arger to|
|00001b80| 20 64 69 73 70 6c 61 79 | 20 61 6c 6c 20 6d 65 6e | display| all men|
|00001b90| 75 73 2e 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |us." & r|eturn & |
|00001ba0| 22 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |"_______|________|
|00001bb0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00001bc0| 5f 5f 5f 5f 5f 5f 5f 22 | 20 26 20 72 65 74 75 72 |_______"| & retur|
|00001bd0| 6e 20 26 20 22 54 68 65 | 20 4e 61 76 69 67 61 74 |n & "The| Navigat|
|00001be0| 69 6f 6e 20 6d 65 6e 75 | 20 22 20 26 20 c2 0d 22 |ion menu| " & .."|
|00001bf0| 77 69 6c 6c 20 6e 6f 74 | 20 62 65 20 61 76 61 69 |will not| be avai|
|00001c00| 6c 61 62 6c 65 20 64 75 | 72 69 6e 67 20 74 68 69 |lable du|ring thi|
|00001c10| 73 20 4d 61 67 4d 61 6b | 65 72 20 64 65 76 65 6c |s MagMak|er devel|
|00001c20| 6f 70 6d 65 6e 74 20 73 | 65 73 73 69 6f 6e 2e 22 |opment s|ession."|
|00001c30| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|00001c40| 65 6e 75 20 22 4e 61 76 | 69 67 61 74 69 6f 6e 22 |enu "Nav|igation"|
|00001c50| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00001c60| 75 20 22 4e 61 76 69 67 | 61 74 69 6f 6e 22 0d 65 |u "Navig|ation".e|
|00001c70| 6e 64 20 69 66 0d 6f 70 | 65 6e 50 69 63 74 20 28 |nd if.op|enPict (|
|00001c80| 69 74 65 6d 20 31 20 74 | 6f 20 33 20 6f 66 20 66 |item 1 t|o 3 of f|
|00001c90| 6c 64 20 22 70 69 63 74 | 54 68 69 73 50 61 67 65 |ld "pict|ThisPage|
|00001ca0| 22 29 0d 65 6e 64 20 6f | 70 65 6e 53 74 61 63 6b |").end o|penStack|
|00001cb0| 0d 0d 6f 6e 20 70 6c 61 | 79 54 69 74 6c 65 0d 67 |..on pla|yTitle.g|
|00001cc0| 6f 20 63 64 20 31 0d 2d | 2d 20 64 65 66 69 6e 65 |o cd 1.-|- define|
|00001cd0| 20 79 6f 75 72 20 6f 70 | 65 6e 69 6e 67 20 61 6e | your op|ening an|
|00001ce0| 69 6d 61 74 69 6f 6e 20 | 68 65 72 65 0d 73 65 6e |imation |here.sen|
|00001cf0| 64 20 6f 70 65 6e 43 61 | 72 64 20 74 6f 20 74 68 |d openCa|rd to th|
|00001d00| 69 73 20 63 64 0d 65 6e | 64 20 70 6c 61 79 54 69 |is cd.en|d playTi|
|00001d10| 74 6c 65 0d 0d 0d 6f 6e | 20 63 6c 6f 73 65 53 74 |tle...on| closeSt|
|00001d20| 61 63 6b 0d 69 66 20 77 | 72 6f 6e 67 53 74 61 63 |ack.if w|rongStac|
|00001d30| 6b 28 29 20 74 68 65 6e | 20 70 61 73 73 20 63 6c |k() then| pass cl|
|00001d40| 6f 73 65 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |oseStack|.global |
|00001d50| 69 73 54 68 65 72 65 4d | 61 67 4d 61 6b 65 72 0d |isThereM|agMaker.|
|00001d60| 69 66 20 69 73 54 68 65 | 72 65 4d 61 67 4d 61 6b |if isThe|reMagMak|
|00001d70| 65 72 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 0d |er is tr|ue then.|
|00001d80| 75 6e 4d 61 67 4d 65 6e | 75 73 0d 65 6e 64 20 69 |unMagMen|us.end i|
|00001d90| 66 0d 73 65 74 20 74 68 | 65 20 73 74 79 6c 65 20 |f.set th|e style |
|00001da0| 6f 66 20 62 67 20 62 74 | 6e 20 22 75 6e 46 6f 6c |of bg bt|n "unFol|
|00001db0| 64 22 20 74 6f 20 6f 70 | 61 71 75 65 0d 69 66 20 |d" to op|aque.if |
|00001dc0| 22 4d 61 67 4d 61 6b 65 | 72 20 54 6f 6f 6c 73 20 |"MagMake|r Tools |
|00001dd0| 41 22 20 69 73 20 69 6e | 20 74 68 65 20 73 74 61 |A" is in| the sta|
|00001de0| 63 6b 73 49 6e 55 73 65 | 20 74 68 65 6e 0d 73 74 |cksInUse| then.st|
|00001df0| 6f 70 20 75 73 69 6e 67 | 20 73 74 61 63 6b 20 22 |op using| stack "|
|00001e00| 4d 61 67 4d 61 6b 65 72 | 20 54 6f 6f 6c 73 20 41 |MagMaker| Tools A|
|00001e10| 22 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |".if the|re is a |
|00001e20| 77 69 6e 64 6f 77 20 22 | 42 6f 6f 6b 4d 61 6b 65 |window "|BookMake|
|00001e30| 72 54 6f 6f 6c 73 22 20 | 74 68 65 6e 20 63 6c 6f |rTools" |then clo|
|00001e40| 73 65 20 77 69 6e 64 6f | 77 20 22 42 6f 6f 6b 4d |se windo|w "BookM|
|00001e50| 61 6b 65 72 54 6f 6f 6c | 73 22 0d 65 6e 64 20 69 |akerTool|s".end i|
|00001e60| 66 0d 69 66 20 22 4d 61 | 67 4d 61 6b 65 72 20 54 |f.if "Ma|gMaker T|
|00001e70| 6f 6f 6c 73 20 42 22 20 | 69 73 20 69 6e 20 74 68 |ools B" |is in th|
|00001e80| 65 20 73 74 61 63 6b 73 | 49 6e 55 73 65 20 74 68 |e stacks|InUse th|
|00001e90| 65 6e 0d 73 74 6f 70 20 | 75 73 69 6e 67 20 73 74 |en.stop |using st|
|00001ea0| 61 63 6b 20 22 4d 61 67 | 4d 61 6b 65 72 20 54 6f |ack "Mag|Maker To|
|00001eb0| 6f 6c 73 20 42 22 0d 65 | 6e 64 20 69 66 0d 63 6c |ols B".e|nd if.cl|
|00001ec0| 6f 73 65 50 69 63 74 20 | 65 6d 70 74 79 2c 28 69 |osePict |empty,(i|
|00001ed0| 74 65 6d 20 31 20 74 6f | 20 33 20 6f 66 20 66 6c |tem 1 to| 3 of fl|
|00001ee0| 64 20 22 50 69 63 74 54 | 68 69 73 50 61 67 65 22 |d "PictT|hisPage"|
|00001ef0| 29 0d 72 65 73 65 74 20 | 6d 65 6e 75 62 61 72 0d |).reset |menubar.|
|00001f00| 65 6e 64 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 0d |end clos|eStack..|
|00001f10| 6f 6e 20 72 65 73 75 6d | 65 53 74 61 63 6b 0d 69 |on resum|eStack.i|
|00001f20| 66 20 77 72 6f 6e 67 53 | 74 61 63 6b 28 29 20 74 |f wrongS|tack() t|
|00001f30| 68 65 6e 20 70 61 73 73 | 20 72 65 73 75 6d 65 53 |hen pass| resumeS|
|00001f40| 74 61 63 6b 0d 67 6c 6f | 62 61 6c 20 69 73 54 68 |tack.glo|bal isTh|
|00001f50| 65 72 65 4d 61 67 4d 61 | 6b 65 72 0d 6c 6f 63 6b |ereMagMa|ker.lock|
|00001f60| 20 73 63 72 65 65 6e 0d | 69 66 20 69 73 54 68 65 | screen.|if isThe|
|00001f70| 72 65 4d 61 67 4d 61 6b | 65 72 20 69 73 20 74 72 |reMagMak|er is tr|
|00001f80| 75 65 20 74 68 65 6e 0d | 73 74 61 72 74 20 75 73 |ue then.|start us|
|00001f90| 69 6e 67 20 73 74 61 63 | 6b 20 22 4d 61 67 4d 61 |ing stac|k "MagMa|
|00001fa0| 6b 65 72 20 54 6f 6f 6c | 73 20 41 22 0d 73 74 61 |ker Tool|s A".sta|
|00001fb0| 72 74 20 75 73 69 6e 67 | 20 73 74 61 63 6b 20 22 |rt using| stack "|
|00001fc0| 4d 61 67 4d 61 6b 65 72 | 20 54 6f 6f 6c 73 20 42 |MagMaker| Tools B|
|00001fd0| 22 0d 65 6e 64 20 69 66 | 0d 6f 70 65 6e 53 74 61 |".end if|.openSta|
|00001fe0| 63 6b 20 69 73 54 68 65 | 72 65 4d 61 67 4d 61 6b |ck isThe|reMagMak|
|00001ff0| 65 72 0d 69 66 20 66 6c | 64 20 22 42 6f 6f 6b 4d |er.if fl|d "BookM|
|00002000| 61 72 6b 22 20 6f 66 20 | 63 64 20 22 54 61 62 6c |ark" of |cd "Tabl|
|00002010| 65 20 6f 66 20 43 6f 6e | 74 65 6e 74 73 22 20 69 |e of Con|tents" i|
|00002020| 73 20 6e 6f 74 20 65 6d | 70 74 79 20 74 68 65 6e |s not em|pty then|
|00002030| 20 67 6f 20 63 64 20 69 | 64 20 28 66 6c 64 20 22 | go cd i|d (fld "|
|00002040| 42 6f 6f 6b 4d 61 72 6b | 22 20 6f 66 20 63 64 20 |BookMark|" of cd |
|00002050| 22 54 61 62 6c 65 20 6f | 66 20 43 6f 6e 74 65 6e |"Table o|f Conten|
|00002060| 74 73 22 29 0d 6f 70 65 | 6e 50 69 63 74 20 28 69 |ts").ope|nPict (i|
|00002070| 74 65 6d 20 31 20 74 6f | 20 33 20 6f 66 20 66 6c |tem 1 to| 3 of fl|
|00002080| 64 20 22 50 69 63 74 54 | 68 69 73 50 61 67 65 22 |d "PictT|hisPage"|
|00002090| 29 0d 65 6e 64 20 72 65 | 73 75 6d 65 53 74 61 63 |).end re|sumeStac|
|000020a0| 6b 0d 0d 6f 6e 20 72 65 | 73 75 6d 65 0d 69 66 20 |k..on re|sume.if |
|000020b0| 77 72 6f 6e 67 53 74 61 | 63 6b 28 29 20 74 68 65 |wrongSta|ck() the|
|000020c0| 6e 20 70 61 73 73 20 72 | 65 73 75 6d 65 0d 72 65 |n pass r|esume.re|
|000020d0| 73 75 6d 65 53 74 61 63 | 6b 0d 65 6e 64 20 72 65 |sumeStac|k.end re|
|000020e0| 73 75 6d 65 0d 0d 6f 6e | 20 73 75 73 70 65 6e 64 |sume..on| suspend|
|000020f0| 53 74 61 63 6b 0d 69 66 | 20 77 72 6f 6e 67 53 74 |Stack.if| wrongSt|
|00002100| 61 63 6b 28 29 20 74 68 | 65 6e 20 70 61 73 73 20 |ack() th|en pass |
|00002110| 73 75 73 70 65 6e 64 53 | 74 61 63 6b 0d 67 6c 6f |suspendS|tack.glo|
|00002120| 62 61 6c 20 69 73 54 68 | 65 72 65 4d 61 67 4d 61 |bal isTh|ereMagMa|
|00002130| 6b 65 72 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ker.if t|here is |
|00002140| 61 20 6d 65 6e 75 20 22 | 4d 61 67 4d 61 6b 65 72 |a menu "|MagMaker|
|00002150| 22 20 74 68 65 6e 20 70 | 75 74 20 74 72 75 65 20 |" then p|ut true |
|00002160| 69 6e 74 6f 20 69 73 54 | 68 65 72 65 4d 61 67 4d |into isT|hereMagM|
|00002170| 61 6b 65 72 0d 63 6c 6f | 73 65 53 74 61 63 6b 0d |aker.clo|seStack.|
|00002180| 65 6e 64 20 73 75 73 70 | 65 6e 64 53 74 61 63 6b |end susp|endStack|
|00002190| 0d 0d 6f 6e 20 73 75 73 | 70 65 6e 64 0d 69 66 20 |..on sus|pend.if |
|000021a0| 77 72 6f 6e 67 53 74 61 | 63 6b 28 29 20 74 68 65 |wrongSta|ck() the|
|000021b0| 6e 20 70 61 73 73 20 73 | 75 73 70 65 6e 64 0d 73 |n pass s|uspend.s|
|000021c0| 75 73 70 65 6e 64 53 74 | 61 63 6b 0d 65 6e 64 20 |uspendSt|ack.end |
|000021d0| 73 75 73 70 65 6e 64 0d | 0d 66 75 6e 63 74 69 6f |suspend.|.functio|
|000021e0| 6e 20 77 72 6f 6e 67 53 | 74 61 63 6b 0d 67 65 74 |n wrongS|tack.get|
|000021f0| 20 74 68 65 20 76 61 6c | 75 65 20 6f 66 20 77 6f | the val|ue of wo|
|00002200| 72 64 20 32 20 6f 66 20 | 74 68 65 20 6c 6f 6e 67 |rd 2 of |the long|
|00002210| 20 6e 61 6d 65 20 6f 66 | 20 6d 65 0d 72 65 74 75 | name of| me.retu|
|00002220| 72 6e 20 28 69 74 20 69 | 73 20 6e 6f 74 20 6c 69 |rn (it i|s not li|
|00002230| 6e 65 20 31 20 6f 66 20 | 74 68 65 20 73 74 61 63 |ne 1 of |the stac|
|00002240| 6b 73 29 0d 65 6e 64 20 | 77 72 6f 6e 67 53 74 61 |ks).end |wrongSta|
|00002250| 63 6b 0d 0d 0d 6f 6e 20 | 6f 70 65 6e 43 61 72 64 |ck...on |openCard|
|00002260| 0d 69 66 20 77 72 6f 6e | 67 53 74 61 63 6b 28 29 |.if wron|gStack()|
|00002270| 20 74 68 65 6e 20 70 61 | 73 73 20 6f 70 65 6e 43 | then pa|ss openC|
|00002280| 61 72 64 0d 67 6c 6f 62 | 61 6c 20 63 75 72 49 64 |ard.glob|al curId|
|00002290| 2c 73 68 6f 77 6e 50 69 | 63 74 0d 6c 6f 63 6b 20 |,shownPi|ct.lock |
|000022a0| 73 63 72 65 65 6e 0d 70 | 75 74 20 74 68 65 20 6e |screen.p|ut the n|
|000022b0| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 64 |umber of| this cd|
|000022c0| 20 69 6e 74 6f 20 66 6c | 64 20 22 50 61 67 65 20 | into fl|d "Page |
|000022d0| 4e 75 6d 22 0d 69 66 20 | 28 66 6c 64 20 22 42 6f |Num".if |(fld "Bo|
|000022e0| 6f 6b 4d 61 72 6b 22 20 | 6f 66 20 63 64 20 22 54 |okMark" |of cd "T|
|000022f0| 61 62 6c 65 20 6f 66 20 | 43 6f 6e 74 65 6e 74 73 |able of |Contents|
|00002300| 22 29 20 69 73 20 74 68 | 65 20 73 68 6f 72 74 20 |") is th|e short |
|00002310| 69 64 20 6f 66 20 74 68 | 69 73 20 63 64 20 74 68 |id of th|is cd th|
|00002320| 65 6e 20 73 65 74 20 74 | 68 65 20 73 74 79 6c 65 |en set t|he style|
|00002330| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 75 6e 46 6f | of bg b|tn "unFo|
|00002340| 6c 64 22 20 74 6f 20 74 | 72 61 6e 73 70 61 72 65 |ld" to t|ranspare|
|00002350| 6e 74 0d 65 6c 73 65 20 | 73 65 74 20 74 68 65 20 |nt.else |set the |
|00002360| 73 74 79 6c 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |style of| bg btn |
|00002370| 22 75 6e 46 6f 6c 64 22 | 20 74 6f 20 6f 70 61 71 |"unFold"| to opaq|
|00002380| 75 65 0d 69 66 20 74 68 | 65 20 6c 6f 63 6b 54 65 |ue.if th|e lockTe|
|00002390| 78 74 20 6f 66 20 66 6c | 64 20 22 4e 6f 74 65 50 |xt of fl|d "NoteP|
|000023a0| 61 64 22 20 69 73 20 66 | 61 6c 73 65 20 74 68 65 |ad" is f|alse the|
|000023b0| 6e 0d 73 65 74 20 63 68 | 65 63 6b 4d 61 72 6b 20 |n.set ch|eckMark |
|000023c0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 4d 61 6b |of menuI|tem "Mak|
|000023d0| 65 20 4e 6f 74 65 22 20 | 6f 66 20 6d 65 6e 75 20 |e Note" |of menu |
|000023e0| 22 4e 61 76 69 67 61 74 | 69 6f 6e 22 20 74 6f 20 |"Navigat|ion" to |
|000023f0| 66 61 6c 73 65 0d 73 65 | 74 20 74 68 65 20 6c 6f |false.se|t the lo|
|00002400| 63 6b 54 65 78 74 20 6f | 66 20 66 6c 64 20 22 4e |ckText o|f fld "N|
|00002410| 6f 74 65 50 61 64 22 20 | 74 6f 20 74 72 75 65 0d |otePad" |to true.|
|00002420| 73 65 74 20 74 68 65 20 | 73 74 79 6c 65 20 6f 66 |set the |style of|
|00002430| 20 66 6c 64 20 22 4e 6f | 74 65 50 61 64 22 20 74 | fld "No|tePad" t|
|00002440| 6f 20 74 72 61 6e 73 70 | 61 72 65 6e 74 0d 68 69 |o transp|arent.hi|
|00002450| 64 65 20 62 67 20 62 74 | 6e 20 22 43 6c 6f 73 65 |de bg bt|n "Close|
|00002460| 20 4e 6f 74 65 73 22 0d | 65 6e 64 20 69 66 0d 70 | Notes".|end if.p|
|00002470| 75 74 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 62 |ut the r|ect of b|
|00002480| 67 20 62 74 6e 20 22 73 | 6c 69 64 65 42 61 63 6b |g btn "s|lideBack|
|00002490| 22 20 69 6e 74 6f 20 62 | 74 6e 53 69 7a 65 0d 70 |" into b|tnSize.p|
|000024a0| 75 74 20 69 74 65 6d 20 | 33 20 6f 66 20 62 74 6e |ut item |3 of btn|
|000024b0| 53 69 7a 65 20 2d 20 69 | 74 65 6d 20 31 20 6f 66 |Size - i|tem 1 of|
|000024c0| 20 62 74 6e 53 69 7a 65 | 20 69 6e 74 6f 20 62 74 | btnSize| into bt|
|000024d0| 6e 4c 67 74 68 0d 70 75 | 74 20 74 68 65 20 6e 75 |nLgth.pu|t the nu|
|000024e0| 6d 62 65 72 20 6f 66 20 | 63 64 73 20 6f 66 20 74 |mber of |cds of t|
|000024f0| 68 69 73 20 73 74 61 63 | 6b 20 69 6e 74 6f 20 74 |his stac|k into t|
|00002500| 6f 74 50 61 67 65 73 0d | 70 75 74 20 74 68 65 20 |otPages.|put the |
|00002510| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 69 73 20 63 |number o|f this c|
|00002520| 64 20 2f 20 74 6f 74 50 | 61 67 65 73 20 69 6e 74 |d / totP|ages int|
|00002530| 6f 20 67 72 61 70 68 4c | 65 6e 67 74 68 0d 70 75 |o graphL|ength.pu|
|00002540| 74 20 74 72 75 6e 63 28 | 67 72 61 70 68 4c 65 6e |t trunc(|graphLen|
|00002550| 67 74 68 20 2a 20 62 74 | 6e 4c 67 74 68 29 20 2b |gth * bt|nLgth) +|
|00002560| 20 69 74 65 6d 20 31 20 | 6f 66 20 62 74 6e 53 69 | item 1 |of btnSi|
|00002570| 7a 65 20 69 6e 74 6f 20 | 69 74 65 6d 33 0d 73 65 |ze into |item3.se|
|00002580| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 62 67 |t the re|ct of bg|
|00002590| 20 62 74 6e 20 22 73 6c | 69 64 65 46 72 6f 6e 74 | btn "sl|ideFront|
|000025a0| 22 20 74 6f 20 28 69 74 | 65 6d 20 31 20 6f 66 20 |" to (it|em 1 of |
|000025b0| 62 74 6e 53 69 7a 65 20 | 26 20 22 2c 22 20 26 20 |btnSize |& "," & |
|000025c0| 69 74 65 6d 20 32 20 6f | 66 20 62 74 6e 53 69 7a |item 2 o|f btnSiz|
|000025d0| 65 20 26 20 22 2c 22 20 | 26 20 69 74 65 6d 33 20 |e & "," |& item3 |
|000025e0| 26 20 22 2c 22 20 26 20 | 69 74 65 6d 20 34 20 6f |& "," & |item 4 o|
|000025f0| 66 20 62 74 6e 53 69 7a | 65 29 0d 73 65 74 20 74 |f btnSiz|e).set t|
|00002600| 68 65 20 72 65 63 74 20 | 6f 66 20 62 67 20 62 74 |he rect |of bg bt|
|00002610| 6e 20 22 73 6c 69 64 65 | 46 72 6f 6e 74 22 20 74 |n "slide|Front" t|
|00002620| 6f 20 28 69 74 65 6d 33 | 20 26 20 22 2c 22 20 26 |o (item3| & "," &|
|00002630| 20 69 74 65 6d 20 32 20 | 6f 66 20 62 74 6e 53 69 | item 2 |of btnSi|
|00002640| 7a 65 20 26 20 22 2c 22 | 20 26 20 69 74 65 6d 20 |ze & ","| & item |
|00002650| 33 20 6f 66 20 62 74 6e | 53 69 7a 65 20 26 20 22 |3 of btn|Size & "|
|00002660| 2c 22 20 26 20 69 74 65 | 6d 20 34 20 6f 66 20 62 |," & ite|m 4 of b|
|00002670| 74 6e 53 69 7a 65 29 0d | 75 6e 6c 6f 63 6b 20 73 |tnSize).|unlock s|
|00002680| 63 72 65 65 6e 0d 69 66 | 20 66 6c 64 20 22 50 69 |creen.if| fld "Pi|
|00002690| 63 74 54 68 69 73 50 61 | 67 65 22 20 69 73 20 6e |ctThisPa|ge" is n|
|000026a0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 69 66 |ot empty| then.if|
|000026b0| 20 63 75 72 49 64 20 69 | 73 20 6e 6f 74 20 65 6d | curId i|s not em|
|000026c0| 70 74 79 20 61 6e 64 20 | 74 68 65 72 65 20 69 73 |pty and |there is|
|000026d0| 20 61 20 63 64 20 69 64 | 20 63 75 72 49 64 20 74 | a cd id| curId t|
|000026e0| 68 65 6e 0d 69 66 20 66 | 6c 64 20 22 50 69 63 74 |hen.if f|ld "Pict|
|000026f0| 54 68 69 73 50 61 67 65 | 22 20 6f 66 20 63 64 20 |ThisPage|" of cd |
|00002700| 69 64 20 63 75 72 49 64 | 20 69 73 20 6e 6f 74 20 |id curId| is not |
|00002710| 65 6d 70 74 79 20 74 68 | 65 6e 0d 63 6c 6f 73 65 |empty th|en.close|
|00002720| 50 69 63 74 20 28 69 74 | 65 6d 20 31 20 74 6f 20 |Pict (it|em 1 to |
|00002730| 33 20 6f 66 20 66 6c 64 | 20 22 50 69 63 74 54 68 |3 of fld| "PictTh|
|00002740| 69 73 50 61 67 65 22 29 | 2c 28 69 74 65 6d 20 31 |isPage")|,(item 1|
|00002750| 20 74 6f 20 33 20 6f 66 | 20 66 6c 64 20 22 50 69 | to 3 of| fld "Pi|
|00002760| 63 74 54 68 69 73 50 61 | 67 65 22 20 6f 66 20 63 |ctThisPa|ge" of c|
|00002770| 64 20 69 64 20 63 75 72 | 49 64 29 0d 65 6e 64 20 |d id cur|Id).end |
|00002780| 69 66 0d 0d 65 6e 64 20 | 69 66 0d 6f 70 65 6e 50 |if..end |if.openP|
|00002790| 69 63 74 20 28 69 74 65 | 6d 20 31 20 74 6f 20 33 |ict (ite|m 1 to 3|
|000027a0| 20 6f 66 20 66 6c 64 20 | 22 50 69 63 74 54 68 69 | of fld |"PictThi|
|000027b0| 73 50 61 67 65 22 29 0d | 65 6c 73 65 0d 69 66 20 |sPage").|else.if |
|000027c0| 63 75 72 49 64 20 69 73 | 20 65 6d 70 74 79 20 74 |curId is| empty t|
|000027d0| 68 65 6e 0d 63 6c 6f 73 | 65 50 69 63 74 20 28 69 |hen.clos|ePict (i|
|000027e0| 74 65 6d 20 31 20 74 6f | 20 33 20 6f 66 20 66 6c |tem 1 to| 3 of fl|
|000027f0| 64 20 22 50 69 63 74 54 | 68 69 73 50 61 67 65 22 |d "PictT|hisPage"|
|00002800| 29 0d 65 6c 73 65 0d 69 | 66 20 74 68 65 72 65 20 |).else.i|f there |
|00002810| 69 73 20 61 20 63 64 20 | 69 64 20 63 75 72 49 64 |is a cd |id curId|
|00002820| 20 74 68 65 6e 0d 63 6c | 6f 73 65 50 69 63 74 20 | then.cl|osePict |
|00002830| 28 69 74 65 6d 20 31 20 | 74 6f 20 33 20 6f 66 20 |(item 1 |to 3 of |
|00002840| 66 6c 64 20 22 50 69 63 | 74 54 68 69 73 50 61 67 |fld "Pic|tThisPag|
|00002850| 65 22 29 2c 28 69 74 65 | 6d 20 31 20 74 6f 20 33 |e"),(ite|m 1 to 3|
|00002860| 20 6f 66 20 66 6c 64 20 | 22 50 69 63 74 54 68 69 | of fld |"PictThi|
|00002870| 73 50 61 67 65 22 20 6f | 66 20 63 64 20 69 64 20 |sPage" o|f cd id |
|00002880| 63 75 72 49 64 29 0d 65 | 6e 64 20 69 66 0d 65 6e |curId).e|nd if.en|
|00002890| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 2d 2d 20 75 |d if.end| if.-- u|
|000028a0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 70 61 73 |nlock sc|reen.pas|
|000028b0| 73 20 6f 70 65 6e 43 61 | 72 64 0d 65 6e 64 20 6f |s openCa|rd.end o|
|000028c0| 70 65 6e 43 61 72 64 0d | 0d 6f 6e 20 6f 70 65 6e |penCard.|.on open|
|000028d0| 50 69 63 74 20 77 68 61 | 74 50 69 63 74 0d 69 66 |Pict wha|tPict.if|
|000028e0| 20 77 68 61 74 50 69 63 | 74 20 69 73 20 65 6d 70 | whatPic|t is emp|
|000028f0| 74 79 20 74 68 65 6e 20 | 65 78 69 74 20 6f 70 65 |ty then |exit ope|
|00002900| 6e 50 69 63 74 0d 69 66 | 20 74 68 65 72 65 20 69 |nPict.if| there i|
|00002910| 73 20 6e 6f 74 20 61 20 | 77 69 6e 64 6f 77 20 69 |s not a |window i|
|00002920| 74 65 6d 20 31 20 6f 66 | 20 77 68 61 74 50 69 63 |tem 1 of| whatPic|
|00002930| 74 20 74 68 65 6e 0d 67 | 65 74 50 69 63 74 75 72 |t then.g|etPictur|
|00002940| 65 20 77 68 61 74 50 69 | 63 74 0d 69 66 20 74 68 |e whatPi|ct.if th|
|00002950| 65 20 72 65 73 75 6c 74 | 20 69 73 20 6e 6f 74 20 |e result| is not |
|00002960| 65 6d 70 74 79 20 74 68 | 65 6e 0d 61 6e 73 77 65 |empty th|en.answe|
|00002970| 72 20 22 55 6e 61 62 6c | 65 20 74 6f 20 64 69 73 |r "Unabl|e to dis|
|00002980| 70 6c 79 20 70 69 63 74 | 75 72 65 2e 20 54 72 79 |ply pict|ure. Try|
|00002990| 20 69 6e 63 72 65 61 73 | 69 6e 67 20 48 79 70 65 | increas|ing Hype|
|000029a0| 72 43 61 72 64 20 6d 65 | 6d 6f 72 79 2e 22 0d 65 |rCard me|mory.".e|
|000029b0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 69 66 20 |nd if.en|d if.if |
|000029c0| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|000029d0| 77 20 28 69 74 65 6d 20 | 31 20 6f 66 20 77 68 61 |w (item |1 of wha|
|000029e0| 74 50 69 63 74 29 20 74 | 68 65 6e 0d 69 66 20 74 |tPict) t|hen.if t|
|000029f0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 69 74 65 |he numbe|r of ite|
|00002a00| 6d 73 20 6f 66 20 77 68 | 61 74 50 69 63 74 20 3d |ms of wh|atPict =|
|00002a10| 20 33 20 74 68 65 6e 0d | 73 65 74 20 6c 6f 63 20 | 3 then.|set loc |
|00002a20| 6f 66 20 77 69 6e 64 6f | 77 20 28 69 74 65 6d 20 |of windo|w (item |
|00002a30| 31 20 6f 66 20 77 68 61 | 74 50 69 63 74 29 20 74 |1 of wha|tPict) t|
|00002a40| 6f 20 28 69 74 65 6d 20 | 32 20 74 6f 20 33 20 6f |o (item |2 to 3 o|
|00002a50| 66 20 77 68 61 74 50 69 | 63 74 29 0d 65 6e 64 20 |f whatPi|ct).end |
|00002a60| 69 66 0d 73 68 6f 77 20 | 77 69 6e 64 6f 77 20 69 |if.show |window i|
|00002a70| 74 65 6d 20 31 20 6f 66 | 20 77 68 61 74 50 69 63 |tem 1 of| whatPic|
|00002a80| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 6f 70 65 |t.end if|.end ope|
|00002a90| 6e 50 69 63 74 0d 0d 6f | 6e 20 63 6c 6f 73 65 50 |nPict..o|n closeP|
|00002aa0| 69 63 74 20 77 68 61 74 | 50 69 63 74 2c 6f 6c 64 |ict what|Pict,old|
|00002ab0| 50 69 63 74 0d 69 66 20 | 6f 6c 64 50 69 63 74 20 |Pict.if |oldPict |
|00002ac0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 63 6c |is empty| then.cl|
|00002ad0| 6f 73 65 54 68 65 50 69 | 63 74 28 69 74 65 6d 20 |oseThePi|ct(item |
|00002ae0| 31 20 6f 66 20 77 68 61 | 74 50 69 63 74 29 0d 65 |1 of wha|tPict).e|
|00002af0| 6c 73 65 0d 69 66 20 77 | 68 61 74 50 69 63 74 20 |lse.if w|hatPict |
|00002b00| 69 73 20 6e 6f 74 20 6f | 6c 64 50 69 63 74 20 61 |is not o|ldPict a|
|00002b10| 6e 64 20 69 74 65 6d 20 | 31 20 6f 66 20 6f 6c 64 |nd item |1 of old|
|00002b20| 50 69 63 74 20 69 73 20 | 69 6e 20 74 68 65 20 77 |Pict is |in the w|
|00002b30| 69 6e 64 6f 77 73 20 74 | 68 65 6e 0d 63 6c 6f 73 |indows t|hen.clos|
|00002b40| 65 54 68 65 50 69 63 74 | 28 69 74 65 6d 20 31 20 |eThePict|(item 1 |
|00002b50| 6f 66 20 6f 6c 64 50 69 | 63 74 29 0d 65 6e 64 20 |of oldPi|ct).end |
|00002b60| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 63 6c |if.end i|f.end cl|
|00002b70| 6f 73 65 50 69 63 74 0d | 0d 6f 6e 20 67 65 74 50 |osePict.|.on getP|
|00002b80| 69 63 74 75 72 65 20 77 | 68 61 74 50 69 63 74 0d |icture w|hatPict.|
|00002b90| 69 66 20 77 68 61 74 50 | 69 63 74 20 69 73 20 65 |if whatP|ict is e|
|00002ba0| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 67 |mpty the|n exit g|
|00002bb0| 65 74 50 69 63 74 75 72 | 65 0d 67 6c 6f 62 61 6c |etPictur|e.global|
|00002bc0| 20 64 6f 44 69 74 68 65 | 72 0d 69 66 20 69 74 65 | doDithe|r.if ite|
|00002bd0| 6d 20 32 20 6f 66 20 77 | 68 61 74 50 69 63 74 20 |m 2 of w|hatPict |
|00002be0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00002bf0| 74 20 22 39 30 2c 35 34 | 22 20 69 6e 74 6f 20 77 |t "90,54|" into w|
|00002c00| 68 61 74 4c 6f 63 0d 65 | 6c 73 65 20 70 75 74 20 |hatLoc.e|lse put |
|00002c10| 69 74 65 6d 20 32 20 6f | 66 20 77 68 61 74 50 69 |item 2 o|f whatPi|
|00002c20| 63 74 20 26 20 22 2c 22 | 20 26 20 69 74 65 6d 20 |ct & ","| & item |
|00002c30| 33 20 6f 66 20 77 68 61 | 74 50 69 63 74 20 69 6e |3 of wha|tPict in|
|00002c40| 74 6f 20 77 68 61 74 4c | 6f 63 0d 70 69 63 74 75 |to whatL|oc.pictu|
|00002c50| 72 65 20 28 69 74 65 6d | 20 31 20 6f 66 20 77 68 |re (item| 1 of wh|
|00002c60| 61 74 50 69 63 74 29 2c | 72 65 73 6f 75 72 63 65 |atPict),|resource|
|00002c70| 2c 72 65 63 74 2c 66 61 | 6c 73 65 20 2d 2d 0d 69 |,rect,fa|lse --.i|
|00002c80| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |f the re|sult is |
|00002c90| 6e 6f 74 20 65 6d 70 74 | 79 20 74 68 65 6e 20 61 |not empt|y then a|
|00002ca0| 6e 73 77 65 72 20 74 68 | 65 20 72 65 73 75 6c 74 |nswer th|e result|
|00002cb0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00002cc0| 69 6e 64 6f 77 20 28 69 | 74 65 6d 20 31 20 6f 66 |indow (i|tem 1 of|
|00002cd0| 20 77 68 61 74 50 69 63 | 74 29 20 74 68 65 6e 0d | whatPic|t) then.|
|00002ce0| 73 65 74 20 74 68 65 20 | 64 69 74 68 65 72 69 6e |set the |ditherin|
|00002cf0| 67 20 6f 66 20 77 69 6e | 64 6f 77 20 28 69 74 65 |g of win|dow (ite|
|00002d00| 6d 20 31 20 6f 66 20 77 | 68 61 74 50 69 63 74 29 |m 1 of w|hatPict)|
|00002d10| 20 74 6f 20 64 6f 44 69 | 74 68 65 72 0d 69 66 20 | to doDi|ther.if |
|00002d20| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00002d30| 77 20 69 74 65 6d 20 31 | 20 6f 66 20 77 68 61 74 |w item 1| of what|
|00002d40| 50 69 63 74 20 74 68 65 | 6e 0d 73 65 74 20 74 6f |Pict the|n.set to|
|00002d50| 70 6c 65 66 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 |pleft of| window |
|00002d60| 69 74 65 6d 20 31 20 6f | 66 20 77 68 61 74 50 69 |item 1 o|f whatPi|
|00002d70| 63 74 20 74 6f 20 77 68 | 61 74 4c 6f 63 0d 65 6e |ct to wh|atLoc.en|
|00002d80| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00002d90| 67 65 74 50 69 63 74 75 | 72 65 0d 0d 6f 6e 20 63 |getPictu|re..on c|
|00002da0| 6c 6f 73 65 43 61 72 64 | 0d 67 6c 6f 62 61 6c 20 |loseCard|.global |
|00002db0| 63 75 72 49 64 0d 70 75 | 74 20 74 68 65 20 73 68 |curId.pu|t the sh|
|00002dc0| 6f 72 74 20 69 64 20 6f | 66 20 74 68 69 73 20 63 |ort id o|f this c|
|00002dd0| 64 20 69 6e 74 6f 20 63 | 75 72 49 64 0d 65 6e 64 |d into c|urId.end|
|00002de0| 20 63 6c 6f 73 65 43 61 | 72 64 0d 0d 6f 6e 20 64 | closeCa|rd..on d|
|00002df0| 6f 4d 65 6e 75 20 77 68 | 69 63 68 4d 65 6e 75 0d |oMenu wh|ichMenu.|
|00002e00| 69 66 20 77 68 69 63 68 | 4d 65 6e 75 20 69 73 20 |if which|Menu is |
|00002e10| 22 41 62 6f 75 74 20 48 | 79 70 65 72 43 61 72 64 |"About H|yperCard|
|00002e20| 2e 2e 2e 22 20 74 68 65 | 6e 0d 67 6f 20 63 64 20 |..." the|n.go cd |
|00002e30| 22 48 65 6c 70 22 0d 65 | 6c 73 65 0d 70 61 73 73 |"Help".e|lse.pass|
|00002e40| 20 64 6f 4d 65 6e 75 0d | 65 6e 64 20 69 66 0d 65 | doMenu.|end if.e|
|00002e50| 6e 64 20 64 6f 4d 65 6e | 75 0d 0d 2d 2d 20 6e 61 |nd doMen|u..-- na|
|00002e60| 76 69 67 61 74 69 6f 6e | 20 6d 65 6e 75 20 68 61 |vigation| menu ha|
|00002e70| 6e 64 6c 65 72 73 0d 6f | 6e 20 6e 61 76 69 67 61 |ndlers.o|n naviga|
|00002e80| 74 69 6f 6e 4d 65 6e 75 | 73 20 77 68 61 74 44 65 |tionMenu|s whatDe|
|00002e90| 76 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 72 65 |v.lock s|creen.re|
|00002ea0| 73 65 74 20 6d 65 6e 75 | 42 61 72 0d 63 72 65 61 |set menu|Bar.crea|
|00002eb0| 74 65 20 6d 65 6e 75 20 | 22 4e 61 76 69 67 61 74 |te menu |"Navigat|
|00002ec0| 69 6f 6e 22 0d 70 75 74 | 20 6e 61 76 4d 65 6e 75 |ion".put| navMenu|
|00002ed0| 49 74 65 6d 73 28 29 20 | 69 6e 74 6f 20 6d 65 6e |Items() |into men|
|00002ee0| 75 20 22 4e 61 76 69 67 | 61 74 69 6f 6e 22 20 77 |u "Navig|ation" w|
|00002ef0| 69 74 68 20 6d 65 6e 75 | 4d 73 67 20 6e 61 76 4d |ith menu|Msg navM|
|00002f00| 65 6e 75 4d 73 67 28 29 | 0d 73 65 74 20 74 68 65 |enuMsg()|.set the|
|00002f10| 20 6e 61 6d 65 20 6f 66 | 20 6d 65 6e 75 49 74 65 | name of| menuIte|
|00002f20| 6d 20 31 20 6f 66 20 6d | 65 6e 75 20 22 41 70 70 |m 1 of m|enu "App|
|00002f30| 6c 65 22 20 74 6f 20 22 | 41 62 6f 75 74 20 4d 61 |le" to "|About Ma|
|00002f40| 67 4d 61 6b 65 72 22 0d | 0d 2d 2d 20 69 66 20 73 |gMaker".|.-- if s|
|00002f50| 74 61 63 6b 73 20 22 4d | 61 67 4d 61 6b 65 72 20 |tacks "M|agMaker |
|00002f60| 54 6f 6f 6c 73 20 41 20 | 61 6e 64 20 4d 61 67 4d |Tools A |and MagM|
|00002f70| 61 6b 65 72 20 54 6f 6f | 6c 73 20 42 22 20 61 72 |aker Too|ls B" ar|
|00002f80| 65 20 69 6e 73 74 61 6c | 6c 65 64 20 63 72 65 61 |e instal|led crea|
|00002f90| 74 65 73 20 66 75 6c 6c | 20 61 75 74 68 6f 72 69 |tes full| authori|
|00002fa0| 6e 67 20 6d 65 6e 75 73 | 0d 2d 2d 20 65 6c 73 65 |ng menus|.-- else|
|00002fb0| 20 63 72 65 61 74 65 73 | 20 6c 69 6d 69 74 65 64 | creates| limited|
|00002fc0| 20 72 65 61 64 65 72 20 | 6d 65 6e 75 73 0d 0d 69 | reader |menus..i|
|00002fd0| 66 20 77 68 61 74 44 65 | 76 20 69 73 20 74 72 75 |f whatDe|v is tru|
|00002fe0| 65 20 74 68 65 6e 0d 6d | 61 67 4d 61 6b 65 72 4d |e then.m|agMakerM|
|00002ff0| 65 6e 75 73 0d 65 6c 73 | 65 0d 6c 69 6d 69 74 65 |enus.els|e.limite|
|00003000| 64 4d 61 67 4d 65 6e 75 | 73 0d 65 6e 64 20 69 66 |dMagMenu|s.end if|
|00003010| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 0d 73 |.unlock |screen.s|
|00003020| 65 74 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 43 68 |et the c|ommandCh|
|00003030| 61 72 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |ar of me|nuItem "|
|00003040| 46 69 6e 64 20 57 6f 72 | 64 22 20 6f 66 20 6d 65 |Find Wor|d" of me|
|00003050| 6e 75 20 22 4e 61 76 69 | 67 61 74 69 6f 6e 22 20 |nu "Navi|gation" |
|00003060| 74 6f 20 22 46 22 0d 73 | 65 74 20 74 68 65 20 63 |to "F".s|et the c|
|00003070| 6f 6d 6d 61 6e 64 43 68 | 61 72 20 6f 66 20 6d 65 |ommandCh|ar of me|
|00003080| 6e 75 49 74 65 6d 20 22 | 47 6f 20 4e 65 78 74 20 |nuItem "|Go Next |
|00003090| 46 6f 75 6e 64 20 57 6f | 72 64 22 20 6f 66 20 6d |Found Wo|rd" of m|
|000030a0| 65 6e 75 20 22 4e 61 76 | 69 67 61 74 69 6f 6e 22 |enu "Nav|igation"|
|000030b0| 20 74 6f 20 22 47 22 0d | 73 65 74 20 74 68 65 20 | to "G".|set the |
|000030c0| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|000030d0| 65 6e 75 49 74 65 6d 20 | 22 47 6f 20 4e 65 78 74 |enuItem |"Go Next|
|000030e0| 20 4d 61 72 6b 65 64 20 | 50 61 67 65 22 20 6f 66 | Marked |Page" of|
|000030f0| 20 6d 65 6e 75 20 22 4e | 61 76 69 67 61 74 69 6f | menu "N|avigatio|
|00003100| 6e 22 20 74 6f 20 22 5d | 22 0d 73 65 74 20 74 68 |n" to "]|".set th|
|00003110| 65 20 63 6f 6d 6d 61 6e | 64 43 68 61 72 20 6f 66 |e comman|dChar of|
|00003120| 20 6d 65 6e 75 49 74 65 | 6d 20 22 47 6f 20 50 72 | menuIte|m "Go Pr|
|00003130| 65 76 20 4d 61 72 6b 65 | 64 20 50 61 67 65 22 20 |ev Marke|d Page" |
|00003140| 6f 66 20 6d 65 6e 75 20 | 22 4e 61 76 69 67 61 74 |of menu |"Navigat|
|00003150| 69 6f 6e 22 20 74 6f 20 | 22 5b 22 0d 65 6e 64 20 |ion" to |"[".end |
|00003160| 6e 61 76 69 67 61 74 69 | 6f 6e 4d 65 6e 75 73 0d |navigati|onMenus.|
|00003170| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 6e 61 76 4d 65 |..functi|on navMe|
|00003180| 6e 75 49 74 65 6d 73 0d | 72 65 74 75 72 6e 20 22 |nuItems.|return "|
|00003190| 4e 65 78 74 20 50 61 67 | 65 2c 50 72 65 76 69 6f |Next Pag|e,Previo|
|000031a0| 75 73 20 50 61 67 65 2c | 2d 2c 53 65 74 20 42 6f |us Page,|-,Set Bo|
|000031b0| 6f 6b 6d 61 72 6b 2c 47 | 6f 20 42 6f 6f 6b 6d 61 |okmark,G|o Bookma|
|000031c0| 72 6b 2c 47 6f 20 54 6f | 20 50 61 67 65 c9 2c 54 |rk,Go To| Page.,T|
|000031d0| 61 62 6c 65 20 6f 66 20 | 43 6f 6e 74 65 6e 74 73 |able of |Contents|
|000031e0| 2c 2d 2c 4d 61 6b 65 20 | 4e 6f 74 65 2c 47 6f 20 |,-,Make |Note,Go |
|000031f0| 4e 65 78 74 20 4e 6f 74 | 65 2c 45 72 61 73 65 20 |Next Not|e,Erase |
|00003200| 4e 6f 74 65 2c 2d 2c 22 | 20 26 c2 0d 22 46 69 6e |Note,-,"| &.."Fin|
|00003210| 64 20 57 6f 72 64 2c 47 | 6f 20 4e 65 78 74 20 46 |d Word,G|o Next F|
|00003220| 6f 75 6e 64 20 57 6f 72 | 64 2c 2d 2c 4d 61 72 6b |ound Wor|d,-,Mark|
|00003230| 20 50 61 67 65 2c 47 6f | 20 4e 65 78 74 20 4d 61 | Page,Go| Next Ma|
|00003240| 72 6b 65 64 20 50 61 67 | 65 2c 47 6f 20 50 72 65 |rked Pag|e,Go Pre|
|00003250| 76 20 4d 61 72 6b 65 64 | 20 50 61 67 65 2c 55 6e |v Marked| Page,Un|
|00003260| 6d 61 72 6b 20 41 6c 6c | 20 50 61 67 65 73 2c 2d |mark All| Pages,-|
|00003270| 2c 48 65 6c 70 22 0d 65 | 6e 64 20 6e 61 76 4d 65 |,Help".e|nd navMe|
|00003280| 6e 75 49 74 65 6d 73 0d | 0d 66 75 6e 63 74 69 6f |nuItems.|.functio|
|00003290| 6e 20 6e 61 76 4d 65 6e | 75 4d 73 67 0d 72 65 74 |n navMen|uMsg.ret|
|000032a0| 75 72 6e 20 22 67 6f 4e | 65 78 74 42 74 6e 2c 67 |urn "goN|extBtn,g|
|000032b0| 6f 50 72 65 76 42 74 6e | 2c 2c 73 65 74 42 6f 6f |oPrevBtn|,,setBoo|
|000032c0| 6b 4d 61 72 6b 2c 67 6f | 42 6f 6f 6b 4d 61 72 6b |kMark,go|BookMark|
|000032d0| 2c 61 73 6b 50 61 67 65 | 2c 67 6f 43 6f 6e 74 65 |,askPage|,goConte|
|000032e0| 6e 74 73 2c 2c 6d 61 6b | 65 4e 6f 74 65 2c 6e 65 |nts,,mak|eNote,ne|
|000032f0| 78 74 4e 6f 74 65 2c 65 | 72 61 73 65 4e 6f 74 65 |xtNote,e|raseNote|
|00003300| 2c 2c 22 20 26 20 c2 0d | 22 66 69 6e 64 49 6e 73 |,," & ..|"findIns|
|00003310| 74 61 6e 63 65 73 2c 66 | 69 6e 64 49 74 2c 2c 6d |tances,f|indIt,,m|
|00003320| 61 6b 65 4d 61 72 6b 65 | 64 2c 67 6f 4d 61 72 6b |akeMarke|d,goMark|
|00003330| 65 64 2c 67 6f 50 72 65 | 76 4d 61 72 6b 65 64 2c |ed,goPre|vMarked,|
|00003340| 75 6e 4d 61 72 6b 50 61 | 67 65 73 2c 2c 67 65 74 |unMarkPa|ges,,get|
|00003350| 48 65 6c 70 22 0d 65 6e | 64 20 6e 61 76 4d 65 6e |Help".en|d navMen|
|00003360| 75 4d 73 67 0d 0d 6f 6e | 20 6c 69 6d 69 74 65 64 |uMsg..on| limited|
|00003370| 4d 61 67 4d 65 6e 75 73 | 0d 70 75 74 20 6b 65 70 |MagMenus|.put kep|
|00003380| 74 46 69 6c 65 28 29 20 | 69 6e 74 6f 20 6d 65 6e |tFile() |into men|
|00003390| 75 20 22 46 69 6c 65 22 | 0d 70 75 74 20 6b 65 70 |u "File"|.put kep|
|000033a0| 74 45 64 69 74 28 29 20 | 69 6e 74 6f 20 6d 65 6e |tEdit() |into men|
|000033b0| 75 20 22 45 64 69 74 22 | 0d 69 66 20 74 68 65 72 |u "Edit"|.if ther|
|000033c0| 65 20 69 73 20 61 20 6d | 65 6e 75 20 22 47 6f 22 |e is a m|enu "Go"|
|000033d0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|000033e0| 75 20 22 47 6f 22 0d 69 | 66 20 74 68 65 72 65 20 |u "Go".i|f there |
|000033f0| 69 73 20 61 20 6d 65 6e | 75 20 22 54 6f 6f 6c 73 |is a men|u "Tools|
|00003400| 22 20 74 68 65 6e 20 64 | 65 6c 65 74 65 20 6d 65 |" then d|elete me|
|00003410| 6e 75 20 22 54 6f 6f 6c | 73 22 0d 69 66 20 74 68 |nu "Tool|s".if th|
|00003420| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 20 22 4f |ere is a| menu "O|
|00003430| 62 6a 65 63 74 73 22 20 | 74 68 65 6e 20 64 65 6c |bjects" |then del|
|00003440| 65 74 65 20 6d 65 6e 75 | 20 22 4f 62 6a 65 63 74 |ete menu| "Object|
|00003450| 73 22 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |s".if th|ere is a|
|00003460| 20 6d 65 6e 75 20 22 46 | 6f 6e 74 22 20 74 68 65 | menu "F|ont" the|
|00003470| 6e 20 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 22 46 |n delete| menu "F|
|00003480| 6f 6e 74 22 0d 69 66 20 | 74 68 65 72 65 20 69 73 |ont".if |there is|
|00003490| 20 61 20 6d 65 6e 75 20 | 22 53 74 79 6c 65 22 20 | a menu |"Style" |
|000034a0| 74 68 65 6e 20 64 65 6c | 65 74 65 20 6d 65 6e 75 |then del|ete menu|
|000034b0| 20 22 53 74 79 6c 65 22 | 0d 73 65 74 20 63 6f 6d | "Style"|.set com|
|000034c0| 6d 61 6e 64 43 68 61 72 | 20 6f 66 20 6d 65 6e 75 |mandChar| of menu|
|000034d0| 49 74 65 6d 20 22 51 75 | 69 74 20 48 79 70 65 72 |Item "Qu|it Hyper|
|000034e0| 43 61 72 64 22 20 6f 66 | 20 6d 65 6e 75 20 22 46 |Card" of| menu "F|
|000034f0| 69 6c 65 22 20 74 6f 20 | 22 51 22 0d 70 75 74 20 |ile" to |"Q".put |
|00003500| 66 69 6c 65 43 6f 6d 6d | 61 6e 64 73 28 29 20 69 |fileComm|ands() i|
|00003510| 6e 74 6f 20 74 68 65 46 | 69 6c 65 4b 65 79 73 0d |nto theF|ileKeys.|
|00003520| 72 65 70 65 61 74 20 77 | 69 74 68 20 78 20 3d 20 |repeat w|ith x = |
|00003530| 31 20 74 6f 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |1 to (th|e number|
|00003540| 20 6f 66 20 69 74 65 6d | 73 20 6f 66 20 74 68 65 | of item|s of the|
|00003550| 46 69 6c 65 4b 65 79 73 | 29 0d 73 65 74 20 63 6f |FileKeys|).set co|
|00003560| 6d 6d 61 6e 64 43 68 61 | 72 20 6f 66 20 6d 65 6e |mmandCha|r of men|
|00003570| 75 49 74 65 6d 20 78 20 | 6f 66 20 6d 65 6e 75 20 |uItem x |of menu |
|00003580| 22 45 64 69 74 22 20 74 | 6f 20 69 74 65 6d 20 78 |"Edit" t|o item x|
|00003590| 20 6f 66 20 74 68 65 46 | 69 6c 65 4b 65 79 73 0d | of theF|ileKeys.|
|000035a0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 6c |end repe|at.end l|
|000035b0| 69 6d 69 74 65 64 4d 61 | 67 4d 65 6e 75 73 0d 0d |imitedMa|gMenus..|
|000035c0| 66 75 6e 63 74 69 6f 6e | 20 6b 65 70 74 46 69 6c |function| keptFil|
|000035d0| 65 0d 72 65 74 75 72 6e | 20 22 50 61 67 65 20 53 |e.return| "Page S|
|000035e0| 65 74 75 70 2e 2e 2e 2c | 50 72 69 6e 74 20 43 61 |etup...,|Print Ca|
|000035f0| 72 64 2c 2d 2c 51 75 69 | 74 20 48 79 70 65 72 43 |rd,-,Qui|t HyperC|
|00003600| 61 72 64 22 0d 65 6e 64 | 20 6b 65 70 74 46 69 6c |ard".end| keptFil|
|00003610| 65 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 6b 65 70 74 |e..funct|ion kept|
|00003620| 45 64 69 74 0d 72 65 74 | 75 72 6e 20 22 43 75 74 |Edit.ret|urn "Cut|
|00003630| 2c 43 6f 70 79 2c 50 61 | 73 74 65 2c 43 6c 65 61 |,Copy,Pa|ste,Clea|
|00003640| 72 22 0d 65 6e 64 20 6b | 65 70 74 45 64 69 74 0d |r".end k|eptEdit.|
|00003650| 0d 66 75 6e 63 74 69 6f | 6e 20 66 69 6c 65 43 6f |.functio|n fileCo|
|00003660| 6d 6d 61 6e 64 73 0d 72 | 65 74 75 72 6e 20 22 58 |mmands.r|eturn "X|
|00003670| 2c 43 2c 56 2c 2c 22 0d | 65 6e 64 20 66 69 6c 65 |,C,V,,".|end file|
|00003680| 43 6f 6d 6d 61 6e 64 73 | 0d 0d 6f 6e 20 67 6f 4e |Commands|..on goN|
|00003690| 65 78 74 42 74 6e 0d 73 | 65 6e 64 20 6d 6f 75 73 |extBtn.s|end mous|
|000036a0| 65 55 70 20 74 6f 20 62 | 67 20 62 74 6e 20 22 4e |eUp to b|g btn "N|
|000036b0| 65 78 74 22 0d 65 6e 64 | 20 67 6f 4e 65 78 74 42 |ext".end| goNextB|
|000036c0| 74 6e 0d 0d 6f 6e 20 67 | 6f 50 72 65 76 42 74 6e |tn..on g|oPrevBtn|
|000036d0| 0d 73 65 6e 64 20 6d 6f | 75 73 65 55 70 20 74 6f |.send mo|useUp to|
|000036e0| 20 62 67 20 62 74 6e 20 | 22 50 72 65 76 22 0d 65 | bg btn |"Prev".e|
|000036f0| 6e 64 20 67 6f 50 72 65 | 76 42 74 6e 0d 0d 6f 6e |nd goPre|vBtn..on|
|00003700| 20 67 6f 4e 65 78 74 0d | 76 69 73 75 61 6c 20 77 | goNext.|visual w|
|00003710| 69 70 65 20 6c 65 66 74 | 0d 67 6f 20 6e 65 78 74 |ipe left|.go next|
|00003720| 20 63 64 0d 69 66 20 74 | 68 65 20 73 68 6f 72 74 | cd.if t|he short|
|00003730| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 63 64 | name of| this cd|
|00003740| 20 69 73 20 22 46 61 64 | 65 22 20 74 68 65 6e 0d | is "Fad|e" then.|
|00003750| 76 69 73 75 61 6c 20 64 | 69 73 73 6f 6c 76 65 0d |visual d|issolve.|
|00003760| 77 61 69 74 20 31 35 0d | 67 6f 20 6e 65 78 74 20 |wait 15.|go next |
|00003770| 63 64 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 67 6f |cd.end i|f.end go|
|00003780| 4e 65 78 74 0d 0d 6f 6e | 20 67 6f 50 72 65 76 0d |Next..on| goPrev.|
|00003790| 76 69 73 75 61 6c 20 77 | 69 70 65 20 72 69 67 68 |visual w|ipe righ|
|000037a0| 74 0d 67 6f 20 70 72 65 | 76 20 63 64 0d 69 66 20 |t.go pre|v cd.if |
|000037b0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000037c0| 66 20 74 68 69 73 20 63 | 64 20 69 73 20 22 46 61 |f this c|d is "Fa|
|000037d0| 64 65 22 20 74 68 65 6e | 0d 76 69 73 75 61 6c 20 |de" then|.visual |
|000037e0| 64 69 73 73 6f 6c 76 65 | 0d 77 61 69 74 20 31 35 |dissolve|.wait 15|
|000037f0| 0d 67 6f 20 70 72 65 76 | 20 63 64 0d 65 6e 64 20 |.go prev| cd.end |
|00003800| 69 66 0d 65 6e 64 20 67 | 6f 50 72 65 76 0d 0d 6f |if.end g|oPrev..o|
|00003810| 6e 20 73 65 74 42 6f 6f | 6b 4d 61 72 6b 0d 69 66 |n setBoo|kMark.if|
|00003820| 20 74 68 65 20 73 74 79 | 6c 65 20 6f 66 20 62 67 | the sty|le of bg|
|00003830| 20 62 74 6e 20 22 55 6e | 46 6f 6c 64 22 20 69 73 | btn "Un|Fold" is|
|00003840| 20 6f 70 61 71 75 65 20 | 74 68 65 6e 0d 73 65 74 | opaque |then.set|
|00003850| 20 74 68 65 20 73 74 79 | 6c 65 20 6f 66 20 20 62 | the sty|le of b|
|00003860| 67 20 62 74 6e 20 22 55 | 6e 46 6f 6c 64 22 20 74 |g btn "U|nFold" t|
|00003870| 6f 20 74 72 61 6e 73 70 | 61 72 65 6e 74 0d 6c 6f |o transp|arent.lo|
|00003880| 63 6b 20 73 63 72 65 65 | 6e 0d 6c 6f 63 6b 20 6d |ck scree|n.lock m|
|00003890| 65 73 73 61 67 65 73 0d | 70 75 74 20 74 68 65 20 |essages.|put the |
|000038a0| 73 68 6f 72 74 20 69 64 | 20 6f 66 20 74 68 69 73 |short id| of this|
|000038b0| 20 63 64 20 69 6e 74 6f | 20 6e 65 77 4d 61 72 6b | cd into| newMark|
|000038c0| 0d 70 75 73 68 20 63 64 | 0d 69 66 20 66 6c 64 20 |.push cd|.if fld |
|000038d0| 22 42 6f 6f 6b 4d 61 72 | 6b 22 20 6f 66 20 63 64 |"BookMar|k" of cd|
|000038e0| 20 22 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 | "Table |of Conte|
|000038f0| 6e 74 73 22 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |nts" is |not empt|
|00003900| 79 20 74 68 65 6e 0d 67 | 6f 20 63 64 20 69 64 20 |y then.g|o cd id |
|00003910| 28 66 6c 64 20 22 42 6f | 6f 6b 4d 61 72 6b 22 20 |(fld "Bo|okMark" |
|00003920| 6f 66 20 63 64 20 22 54 | 61 62 6c 65 20 6f 66 20 |of cd "T|able of |
|00003930| 43 6f 6e 74 65 6e 74 73 | 22 29 0d 73 65 74 20 74 |Contents|").set t|
|00003940| 68 65 20 73 74 79 6c 65 | 20 6f 66 20 62 67 20 62 |he style| of bg b|
|00003950| 74 6e 20 22 55 6e 46 6f | 6c 64 22 20 74 6f 20 6f |tn "UnFo|ld" to o|
|00003960| 70 61 71 75 65 0d 65 6e | 64 20 69 66 0d 73 65 74 |paque.en|d if.set|
|00003970| 20 74 68 65 20 73 74 79 | 6c 65 20 6f 66 20 62 67 | the sty|le of bg|
|00003980| 20 62 74 6e 20 22 55 6e | 46 6f 6c 64 22 20 6f 66 | btn "Un|Fold" of|
|00003990| 20 63 64 20 69 64 20 6e | 65 77 4d 61 72 6b 20 74 | cd id n|ewMark t|
|000039a0| 6f 20 74 72 61 6e 73 70 | 61 72 65 6e 74 0d 70 75 |o transp|arent.pu|
|000039b0| 74 20 6e 65 77 4d 61 72 | 6b 20 69 6e 74 6f 20 66 |t newMar|k into f|
|000039c0| 6c 64 20 22 42 6f 6f 6b | 4d 61 72 6b 22 20 6f 66 |ld "Book|Mark" of|
|000039d0| 20 63 64 20 22 54 61 62 | 6c 65 20 6f 66 20 43 6f | cd "Tab|le of Co|
|000039e0| 6e 74 65 6e 74 73 22 0d | 70 6f 70 20 63 64 0d 65 |ntents".|pop cd.e|
|000039f0| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 73 74 79 6c |lse.set |the styl|
|00003a00| 65 20 6f 66 20 20 62 67 | 20 62 74 6e 20 22 55 6e |e of bg| btn "Un|
|00003a10| 46 6f 6c 64 22 20 74 6f | 20 6f 70 61 71 75 65 0d |Fold" to| opaque.|
|00003a20| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 66 |put empt|y into f|
|00003a30| 6c 64 20 22 42 6f 6f 6b | 4d 61 72 6b 22 20 6f 66 |ld "Book|Mark" of|
|00003a40| 20 63 64 20 22 54 61 62 | 6c 65 20 6f 66 20 43 6f | cd "Tab|le of Co|
|00003a50| 6e 74 65 6e 74 73 22 0d | 65 6e 64 20 69 66 0d 65 |ntents".|end if.e|
|00003a60| 6e 64 20 73 65 74 42 6f | 6f 6b 4d 61 72 6b 0d 0d |nd setBo|okMark..|
|00003a70| 6f 6e 20 67 6f 42 6f 6f | 6b 4d 61 72 6b 0d 69 66 |on goBoo|kMark.if|
|00003a80| 20 66 6c 64 20 22 42 6f | 6f 6b 4d 61 72 6b 22 20 | fld "Bo|okMark" |
|00003a90| 6f 66 20 63 64 20 22 54 | 61 62 6c 65 20 6f 66 20 |of cd "T|able of |
|00003aa0| 43 6f 6e 74 65 6e 74 73 | 22 20 69 73 20 6e 6f 74 |Contents|" is not|
|00003ab0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 67 6f 20 63 | empty t|hen.go c|
|00003ac0| 64 20 69 64 20 28 66 6c | 64 20 22 42 6f 6f 6b 4d |d id (fl|d "BookM|
|00003ad0| 61 72 6b 22 20 6f 66 20 | 63 64 20 22 54 61 62 6c |ark" of |cd "Tabl|
|00003ae0| 65 20 6f 66 20 43 6f 6e | 74 65 6e 74 73 22 29 0d |e of Con|tents").|
|00003af0| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 22 4e 6f 20 |else.ans|wer "No |
|00003b00| 62 6f 6f 6b 6d 61 72 6b | 20 63 75 72 72 65 6e 74 |bookmark| current|
|00003b10| 6c 79 20 73 65 74 2e 22 | 0d 65 6e 64 20 69 66 0d |ly set."|.end if.|
|00003b20| 65 6e 64 20 67 6f 42 6f | 6f 6b 4d 61 72 6b 0d 0d |end goBo|okMark..|
|00003b30| 0d 0d 6f 6e 20 61 73 6b | 50 61 67 65 0d 61 73 6b |..on ask|Page.ask|
|00003b40| 20 22 47 6f 20 74 6f 20 | 70 61 67 65 c9 22 20 77 | "Go to |page." w|
|00003b50| 69 74 68 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ith the |number o|
|00003b60| 66 20 74 68 69 73 20 63 | 64 0d 69 66 20 74 68 65 |f this c|d.if the|
|00003b70| 20 72 65 73 75 6c 74 20 | 69 73 20 6e 6f 74 20 65 | result |is not e|
|00003b80| 6d 70 74 79 20 74 68 65 | 6e 20 65 78 69 74 20 61 |mpty the|n exit a|
|00003b90| 73 6b 50 61 67 65 0d 67 | 6f 20 63 64 20 69 74 0d |skPage.g|o cd it.|
|00003ba0| 65 6e 64 20 61 73 6b 50 | 61 67 65 0d 0d 6f 6e 20 |end askP|age..on |
|00003bb0| 67 6f 43 6f 6e 74 65 6e | 74 73 0d 67 6f 20 63 64 |goConten|ts.go cd|
|00003bc0| 20 22 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 | "Table |of Conte|
|00003bd0| 6e 74 73 22 0d 65 6e 64 | 20 67 6f 43 6f 6e 74 65 |nts".end| goConte|
|00003be0| 6e 74 73 0d 0d 6f 6e 20 | 67 65 74 48 65 6c 70 0d |nts..on |getHelp.|
|00003bf0| 67 6c 6f 62 61 6c 20 77 | 68 65 72 65 57 61 73 49 |global w|hereWasI|
|00003c00| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 69 |.put the| short i|
|00003c10| 64 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |d of thi|s cd int|
|00003c20| 6f 20 77 68 65 72 65 57 | 61 73 49 0d 76 69 73 75 |o whereW|asI.visu|
|00003c30| 61 6c 20 62 61 72 6e 20 | 64 6f 6f 72 20 6f 70 65 |al barn |door ope|
|00003c40| 6e 0d 67 6f 20 63 64 20 | 22 48 65 6c 70 22 0d 65 |n.go cd |"Help".e|
|00003c50| 6e 64 20 67 65 74 48 65 | 6c 70 0d 0d 0d 2d 2d 20 |nd getHe|lp...-- |
|00003c60| 6d 61 6b 65 20 6e 6f 74 | 65 73 20 68 61 6e 64 6c |make not|es handl|
|00003c70| 65 72 73 0d 6f 6e 20 6d | 61 6b 65 4e 6f 74 65 0d |ers.on m|akeNote.|
|00003c80| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 69 66 20 74 |lock scr|een.if t|
|00003c90| 68 65 20 6c 6f 63 6b 54 | 65 78 74 20 6f 66 20 66 |he lockT|ext of f|
|00003ca0| 6c 64 20 22 4e 6f 74 65 | 50 61 64 22 20 69 73 20 |ld "Note|Pad" is |
|00003cb0| 66 61 6c 73 65 20 74 68 | 65 6e 0d 73 65 74 20 63 |false th|en.set c|
|00003cc0| 68 65 63 6b 4d 61 72 6b | 20 6f 66 20 6d 65 6e 75 |heckMark| of menu|
|00003cd0| 49 74 65 6d 20 22 4d 61 | 6b 65 20 4e 6f 74 65 22 |Item "Ma|ke Note"|
|00003ce0| 20 6f 66 20 6d 65 6e 75 | 20 22 4e 61 76 69 67 61 | of menu| "Naviga|
|00003cf0| 74 69 6f 6e 22 20 74 6f | 20 66 61 6c 73 65 0d 73 |tion" to| false.s|
|00003d00| 65 74 20 74 68 65 20 6c | 6f 63 6b 54 65 78 74 20 |et the l|ockText |
|00003d10| 6f 66 20 66 6c 64 20 22 | 4e 6f 74 65 50 61 64 22 |of fld "|NotePad"|
|00003d20| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 74 68 65 | to true|.set the|
|00003d30| 20 73 74 79 6c 65 20 6f | 66 20 66 6c 64 20 22 4e | style o|f fld "N|
|00003d40| 6f 74 65 50 61 64 22 20 | 74 6f 20 74 72 61 6e 73 |otePad" |to trans|
|00003d50| 70 61 72 65 6e 74 0d 68 | 69 64 65 20 62 67 20 62 |parent.h|ide bg b|
|00003d60| 74 6e 20 22 43 6c 6f 73 | 65 20 4e 6f 74 65 73 22 |tn "Clos|e Notes"|
|00003d70| 0d 65 6c 73 65 0d 73 65 | 74 20 63 68 65 63 6b 4d |.else.se|t checkM|
|00003d80| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00003d90| 22 4d 61 6b 65 20 4e 6f | 74 65 22 20 6f 66 20 6d |"Make No|te" of m|
|00003da0| 65 6e 75 20 22 4e 61 76 | 69 67 61 74 69 6f 6e 22 |enu "Nav|igation"|
|00003db0| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 74 68 65 | to true|.set the|
|00003dc0| 20 6c 6f 63 6b 54 65 78 | 74 20 6f 66 20 66 6c 64 | lockTex|t of fld|
|00003dd0| 20 22 4e 6f 74 65 50 61 | 64 22 20 74 6f 20 66 61 | "NotePa|d" to fa|
|00003de0| 6c 73 65 0d 73 65 74 20 | 74 68 65 20 73 74 79 6c |lse.set |the styl|
|00003df0| 65 20 6f 66 20 66 6c 64 | 20 22 4e 6f 74 65 50 61 |e of fld| "NotePa|
|00003e00| 64 22 20 74 6f 20 72 65 | 63 74 0d 73 65 6c 65 63 |d" to re|ct.selec|
|00003e10| 74 20 62 65 66 6f 72 65 | 20 74 65 78 74 20 6f 66 |t before| text of|
|00003e20| 20 66 6c 64 20 22 4e 6f | 74 65 50 61 64 22 0d 73 | fld "No|tePad".s|
|00003e30| 68 6f 77 20 62 67 20 62 | 74 6e 20 22 43 6c 6f 73 |how bg b|tn "Clos|
|00003e40| 65 20 4e 6f 74 65 73 22 | 0d 65 6e 64 20 69 66 0d |e Notes"|.end if.|
|00003e50| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en|
|00003e60| 64 20 6d 61 6b 65 4e 6f | 74 65 0d 0d 6f 6e 20 65 |d makeNo|te..on e|
|00003e70| 72 61 73 65 4e 6f 74 65 | 0d 70 75 74 20 65 6d 70 |raseNote|.put emp|
|00003e80| 74 79 20 69 6e 74 6f 20 | 66 6c 64 20 22 4e 6f 74 |ty into |fld "Not|
|00003e90| 65 50 61 64 22 0d 65 6e | 64 20 65 72 61 73 65 4e |ePad".en|d eraseN|
|00003ea0| 6f 74 65 0d 0d 6f 6e 20 | 6e 65 78 74 4e 6f 74 65 |ote..on |nextNote|
|00003eb0| 0d 75 6e 4d 61 72 6b 20 | 61 6c 6c 20 63 64 73 0d |.unMark |all cds.|
|00003ec0| 6d 61 72 6b 20 63 64 73 | 20 77 68 65 72 65 20 74 |mark cds| where t|
|00003ed0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 68 61 |he numbe|r of cha|
|00003ee0| 72 73 20 6f 66 20 66 6c | 64 20 22 4e 6f 74 65 50 |rs of fl|d "NoteP|
|00003ef0| 61 64 22 20 3e 20 30 0d | 67 6f 20 6e 65 78 74 20 |ad" > 0.|go next |
|00003f00| 6d 61 72 6b 65 64 20 63 | 64 0d 65 6e 64 20 6e 65 |marked c|d.end ne|
|00003f10| 78 74 4e 6f 74 65 0d 0d | 0d 2d 2d 20 6d 61 72 6b |xtNote..|.-- mark|
|00003f20| 20 70 61 67 65 73 20 68 | 61 6e 64 6c 65 72 73 0d | pages h|andlers.|
|00003f30| 6f 6e 20 67 6f 4d 61 72 | 6b 65 64 0d 67 6c 6f 62 |on goMar|ked.glob|
|00003f40| 61 6c 20 61 6c 6c 4d 61 | 72 6b 65 64 0d 69 66 20 |al allMa|rked.if |
|00003f50| 61 6c 6c 4d 61 72 6b 65 | 64 20 69 73 20 65 6d 70 |allMarke|d is emp|
|00003f60| 74 79 20 74 68 65 6e 20 | 70 75 74 20 66 6c 64 20 |ty then |put fld |
|00003f70| 22 4d 61 72 6b 65 64 50 | 61 67 65 73 22 20 6f 66 |"MarkedP|ages" of|
|00003f80| 20 63 64 20 22 54 61 62 | 6c 65 20 6f 66 20 43 6f | cd "Tab|le of Co|
|00003f90| 6e 74 65 6e 74 73 22 20 | 69 6e 74 6f 20 61 6c 6c |ntents" |into all|
|00003fa0| 4d 61 72 6b 65 64 0d 69 | 66 20 61 6c 6c 4d 61 72 |Marked.i|f allMar|
|00003fb0| 6b 65 64 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ked is e|mpty the|
|00003fc0| 6e 20 65 78 69 74 20 67 | 6f 4d 61 72 6b 65 64 0d |n exit g|oMarked.|
|00003fd0| 69 66 20 6c 69 6e 65 20 | 31 20 6f 66 20 61 6c 6c |if line |1 of all|
|00003fe0| 4d 61 72 6b 65 64 20 3d | 20 74 68 65 20 6e 75 6d |Marked =| the num|
|00003ff0| 62 65 72 20 6f 66 20 74 | 68 69 73 20 63 64 20 74 |ber of t|his cd t|
|00004000| 68 65 6e 0d 70 75 74 20 | 6c 69 6e 65 20 31 20 6f |hen.put |line 1 o|
|00004010| 66 20 61 6c 6c 4d 61 72 | 6b 65 64 20 26 20 72 65 |f allMar|ked & re|
|00004020| 74 75 72 6e 20 61 66 74 | 65 72 20 61 6c 6c 4d 61 |turn aft|er allMa|
|00004030| 72 6b 65 64 0d 64 65 6c | 65 74 65 20 6c 69 6e 65 |rked.del|ete line|
|00004040| 20 31 20 6f 66 20 61 6c | 6c 4d 61 72 6b 65 64 0d | 1 of al|lMarked.|
|00004050| 65 6e 64 20 69 66 0d 67 | 6f 20 63 64 20 6c 69 6e |end if.g|o cd lin|
|00004060| 65 20 31 20 6f 66 20 61 | 6c 6c 4d 61 72 6b 65 64 |e 1 of a|llMarked|
|00004070| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 43 61 |.exit to| hyperCa|
|00004080| 72 64 0d 65 6e 64 20 67 | 6f 4d 61 72 6b 65 64 0d |rd.end g|oMarked.|
|00004090| 0d 0d 6f 6e 20 67 6f 50 | 72 65 76 4d 61 72 6b 65 |..on goP|revMarke|
|000040a0| 64 0d 67 6c 6f 62 61 6c | 20 61 6c 6c 4d 61 72 6b |d.global| allMark|
|000040b0| 65 64 0d 69 66 20 61 6c | 6c 4d 61 72 6b 65 64 20 |ed.if al|lMarked |
|000040c0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|000040d0| 74 20 66 6c 64 20 22 4d | 61 72 6b 65 64 50 61 67 |t fld "M|arkedPag|
|000040e0| 65 73 22 20 6f 66 20 63 | 64 20 22 54 61 62 6c 65 |es" of c|d "Table|
|000040f0| 20 6f 66 20 43 6f 6e 74 | 65 6e 74 73 22 20 69 6e | of Cont|ents" in|
|00004100| 74 6f 20 61 6c 6c 4d 61 | 72 6b 65 64 0d 69 66 20 |to allMa|rked.if |
|00004110| 61 6c 6c 4d 61 72 6b 65 | 64 20 69 73 20 65 6d 70 |allMarke|d is emp|
|00004120| 74 79 20 74 68 65 6e 20 | 65 78 69 74 20 67 6f 50 |ty then |exit goP|
|00004130| 72 65 76 4d 61 72 6b 65 | 64 0d 69 66 20 74 68 65 |revMarke|d.if the|
|00004140| 20 6c 61 73 74 20 6c 69 | 6e 65 20 6f 66 20 61 6c | last li|ne of al|
|00004150| 6c 4d 61 72 6b 65 64 20 | 3d 20 74 68 65 20 6e 75 |lMarked |= the nu|
|00004160| 6d 62 65 72 20 6f 66 20 | 74 68 69 73 20 63 64 20 |mber of |this cd |
|00004170| 74 68 65 6e 0d 70 75 74 | 20 74 68 65 20 6c 61 73 |then.put| the las|
|00004180| 74 20 6c 69 6e 65 20 6f | 66 20 61 6c 6c 4d 61 72 |t line o|f allMar|
|00004190| 6b 65 64 20 26 20 72 65 | 74 75 72 6e 20 62 65 66 |ked & re|turn bef|
|000041a0| 6f 72 65 20 61 6c 6c 4d | 61 72 6b 65 64 0d 64 65 |ore allM|arked.de|
|000041b0| 6c 65 74 65 20 6c 61 73 | 74 20 6c 69 6e 65 20 6f |lete las|t line o|
|000041c0| 66 20 61 6c 6c 4d 61 72 | 6b 65 64 0d 65 6e 64 20 |f allMar|ked.end |
|000041d0| 69 66 0d 67 6f 20 63 64 | 20 6c 61 73 74 20 6c 69 |if.go cd| last li|
|000041e0| 6e 65 20 6f 66 20 61 6c | 6c 4d 61 72 6b 65 64 0d |ne of al|lMarked.|
|000041f0| 65 78 69 74 20 74 6f 20 | 68 79 70 65 72 43 61 72 |exit to |hyperCar|
|00004200| 64 0d 65 6e 64 20 67 6f | 50 72 65 76 4d 61 72 6b |d.end go|PrevMark|
|00004210| 65 64 0d 0d 6f 6e 20 6d | 61 6b 65 4d 61 72 6b 65 |ed..on m|akeMarke|
|00004220| 64 0d 67 6c 6f 62 61 6c | 20 61 6c 6c 4d 61 72 6b |d.global| allMark|
|00004230| 65 64 0d 73 65 74 20 74 | 68 65 20 68 69 67 68 6c |ed.set t|he highl|
|00004240| 69 67 68 74 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |ight of |bg btn "|
|00004250| 4d 61 72 6b 65 72 22 20 | 74 6f 20 74 72 75 65 0d |Marker" |to true.|
|00004260| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00004270| 66 20 74 68 69 73 20 63 | 64 20 26 20 72 65 74 75 |f this c|d & retu|
|00004280| 72 6e 20 61 66 74 65 72 | 20 66 6c 64 20 22 4d 61 |rn after| fld "Ma|
|00004290| 72 6b 65 64 50 61 67 65 | 73 22 20 6f 66 20 63 64 |rkedPage|s" of cd|
|000042a0| 20 22 54 61 62 6c 65 20 | 6f 66 20 43 6f 6e 74 65 | "Table |of Conte|
|000042b0| 6e 74 73 22 0d 73 6f 72 | 74 20 66 6c 64 20 22 4d |nts".sor|t fld "M|
|000042c0| 61 72 6b 65 64 50 61 67 | 65 73 22 20 6f 66 20 63 |arkedPag|es" of c|
|000042d0| 64 20 22 54 61 62 6c 65 | 20 6f 66 20 43 6f 6e 74 |d "Table| of Cont|
|000042e0| 65 6e 74 73 22 20 6e 75 | 6d 65 72 69 63 0d 70 75 |ents" nu|meric.pu|
|000042f0| 74 20 66 6c 64 20 22 4d | 61 72 6b 65 64 50 61 67 |t fld "M|arkedPag|
|00004300| 65 73 22 20 6f 66 20 63 | 64 20 22 54 61 62 6c 65 |es" of c|d "Table|
|00004310| 20 6f 66 20 43 6f 6e 74 | 65 6e 74 73 22 20 69 6e | of Cont|ents" in|
|00004320| 74 6f 20 61 6c 6c 4d 61 | 72 6b 65 64 0d 65 6e 64 |to allMa|rked.end|
|00004330| 20 6d 61 6b 65 4d 61 72 | 6b 65 64 0d 0d 6f 6e 20 | makeMar|ked..on |
|00004340| 75 6e 4d 61 72 6b 50 61 | 67 65 73 0d 67 6c 6f 62 |unMarkPa|ges.glob|
|00004350| 61 6c 20 61 6c 6c 4d 61 | 72 6b 65 64 0d 75 6e 6d |al allMa|rked.unm|
|00004360| 61 72 6b 20 61 6c 6c 20 | 63 64 73 0d 6d 61 72 6b |ark all |cds.mark|
|00004370| 20 63 64 73 20 77 68 65 | 72 65 20 74 68 65 20 68 | cds whe|re the h|
|00004380| 69 67 68 6c 69 67 68 74 | 20 6f 66 20 62 67 20 62 |ighlight| of bg b|
|00004390| 74 6e 20 22 4d 61 72 6b | 65 72 22 20 69 73 20 74 |tn "Mark|er" is t|
|000043a0| 72 75 65 0d 70 75 73 68 | 20 63 64 0d 6c 6f 63 6b |rue.push| cd.lock|
|000043b0| 20 73 63 72 65 65 6e 0d | 6c 6f 63 6b 20 6d 65 73 | screen.|lock mes|
|000043c0| 73 61 67 65 73 0d 72 65 | 70 65 61 74 20 77 69 74 |sages.re|peat wit|
|000043d0| 68 20 78 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h x = 1 |to the n|
|000043e0| 75 6d 62 65 72 20 6f 66 | 20 6d 61 72 6b 65 64 20 |umber of| marked |
|000043f0| 63 64 73 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |cds.set |cursor t|
|00004400| 6f 20 62 75 73 79 0d 67 | 6f 20 6e 65 78 74 20 6d |o busy.g|o next m|
|00004410| 61 72 6b 65 64 20 63 64 | 0d 73 65 74 20 74 68 65 |arked cd|.set the|
|00004420| 20 68 69 67 68 6c 69 67 | 68 74 20 6f 66 20 62 67 | highlig|ht of bg|
|00004430| 20 62 74 6e 20 22 4d 61 | 72 6b 65 72 22 20 74 6f | btn "Ma|rker" to|
|00004440| 20 66 61 6c 73 65 0d 65 | 6e 64 20 72 65 70 65 61 | false.e|nd repea|
|00004450| 74 0d 70 6f 70 20 63 64 | 0d 70 75 74 20 65 6d 70 |t.pop cd|.put emp|
|00004460| 74 79 20 69 6e 74 6f 20 | 66 6c 64 20 22 4d 61 72 |ty into |fld "Mar|
|00004470| 6b 65 64 50 61 67 65 73 | 22 20 6f 66 20 63 64 20 |kedPages|" of cd |
|00004480| 22 54 61 62 6c 65 20 6f | 66 20 43 6f 6e 74 65 6e |"Table o|f Conten|
|00004490| 74 73 22 0d 70 75 74 20 | 65 6d 70 74 79 20 69 6e |ts".put |empty in|
|000044a0| 74 6f 20 61 6c 6c 4d 61 | 72 6b 65 64 0d 65 6e 64 |to allMa|rked.end|
|000044b0| 20 75 6e 4d 61 72 6b 50 | 61 67 65 73 0d 0d 0d 2d | unMarkP|ages...-|
|000044c0| 2d 20 68 61 6e 64 6c 65 | 72 20 63 61 6c 6c 65 64 |- handle|r called|
|000044d0| 20 62 79 20 6d 65 6e 75 | 49 74 65 6d 20 61 76 61 | by menu|Item ava|
|000044e0| 69 6c 61 62 6c 65 20 77 | 68 65 6e 20 73 74 61 63 |ilable w|hen stac|
|000044f0| 6b 20 22 4d 61 67 4d 61 | 6b 65 72 20 54 6f 6f 6c |k "MagMa|ker Tool|
|00004500| 73 22 20 69 73 20 69 6e | 73 74 61 6c 6c 65 64 0d |s" is in|stalled.|
|00004510| 6f 6e 20 63 6c 6f 73 65 | 4d 61 67 4d 61 6b 65 72 |on close|MagMaker|
|00004520| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 6c 6f 63 |.lock sc|reen.loc|
|00004530| 6b 20 6d 65 73 73 61 67 | 65 73 0d 69 66 20 74 68 |k messag|es.if th|
|00004540| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 20 22 4d |ere is a| menu "M|
|00004550| 61 67 4d 61 6b 65 72 22 | 20 74 68 65 6e 0d 73 65 |agMaker"| then.se|
|00004560| 74 20 74 68 65 20 63 68 | 65 63 6b 4d 61 72 6b 20 |t the ch|eckMark |
|00004570| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 31 20 6f 66 |of menuI|tem 1 of|
|00004580| 20 6d 65 6e 75 20 22 4d | 61 67 4d 61 6b 65 72 22 | menu "M|agMaker"|
|00004590| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 74 68 | to fals|e.set th|
|000045a0| 65 20 6c 6f 63 6b 54 65 | 78 74 20 6f 66 20 66 6c |e lockTe|xt of fl|
|000045b0| 64 20 22 42 6f 64 79 22 | 20 74 6f 20 74 72 75 65 |d "Body"| to true|
|000045c0| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 6b 54 65 78 |.set the| lockTex|
|000045d0| 74 20 6f 66 20 66 6c 64 | 20 22 41 72 74 69 63 6c |t of fld| "Articl|
|000045e0| 65 4e 61 6d 65 22 20 74 | 6f 20 74 72 75 65 0d 70 |eName" t|o true.p|
|000045f0| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |ut the s|hort id |
|00004600| 6f 66 20 74 68 69 73 20 | 62 67 20 69 6e 74 6f 20 |of this |bg into |
|00004610| 73 74 61 72 74 49 64 0d | 70 75 73 68 20 63 64 0d |startId.|push cd.|
|00004620| 72 65 70 65 61 74 20 75 | 6e 74 69 6c 20 74 68 65 |repeat u|ntil the|
|00004630| 20 6d 6f 75 73 65 20 69 | 73 20 64 6f 77 6e 0d 69 | mouse i|s down.i|
|00004640| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 62 67 20 |f there |is a bg |
|00004650| 62 74 6e 20 22 54 68 65 | 54 6f 6f 6c 42 74 6e 22 |btn "The|ToolBtn"|
|00004660| 20 74 68 65 6e 20 68 69 | 64 65 20 62 67 20 62 74 | then hi|de bg bt|
|00004670| 6e 20 22 54 68 65 54 6f | 6f 6c 42 74 6e 22 0d 69 |n "TheTo|olBtn".i|
|00004680| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 62 67 20 |f there |is a bg |
|00004690| 62 74 6e 20 22 4c 6f 63 | 6b 50 61 67 65 22 20 74 |btn "Loc|kPage" t|
|000046a0| 68 65 6e 20 68 69 64 65 | 20 62 67 20 62 74 6e 20 |hen hide| bg btn |
|000046b0| 22 4c 6f 63 6b 50 61 67 | 65 22 0d 69 66 20 74 68 |"LockPag|e".if th|
|000046c0| 65 72 65 20 69 73 20 61 | 20 66 6c 64 20 22 50 69 |ere is a| fld "Pi|
|000046d0| 63 74 54 68 69 73 50 61 | 67 65 22 20 74 68 65 6e |ctThisPa|ge" then|
|000046e0| 20 68 69 64 65 20 66 6c | 64 20 22 50 69 63 74 54 | hide fl|d "PictT|
|000046f0| 68 69 73 50 61 67 65 22 | 0d 69 66 20 74 68 65 72 |hisPage"|.if ther|
|00004700| 65 20 69 73 20 61 20 66 | 6c 64 20 22 50 69 63 74 |e is a f|ld "Pict|
|00004710| 4c 69 73 74 22 20 74 68 | 65 6e 20 68 69 64 65 20 |List" th|en hide |
|00004720| 66 6c 64 20 22 50 69 63 | 74 4c 69 73 74 22 0d 67 |fld "Pic|tList".g|
|00004730| 6f 20 6e 65 78 74 20 62 | 67 0d 69 66 20 74 68 65 |o next b|g.if the|
|00004740| 20 69 64 20 6f 66 20 74 | 68 69 73 20 62 67 20 69 | id of t|his bg i|
|00004750| 73 20 73 74 61 72 74 49 | 64 20 74 68 65 6e 20 65 |s startI|d then e|
|00004760| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00004770| 65 70 65 61 74 0d 6f 70 | 65 6e 73 74 61 63 6b 20 |epeat.op|enstack |
|00004780| 66 61 6c 73 65 0d 70 6f | 70 20 63 64 0d 70 75 74 |false.po|p cd.put|
|00004790| 20 22 4f 70 65 6e 20 4d | 61 67 4d 61 6b 65 72 22 | "Open M|agMaker"|
|000047a0| 20 61 66 74 65 72 20 6d | 65 6e 75 20 22 4e 61 76 | after m|enu "Nav|
|000047b0| 69 67 61 74 69 6f 6e 22 | 20 77 69 74 68 20 6d 65 |igation"| with me|
|000047c0| 6e 75 4d 73 67 20 22 63 | 6c 6f 73 65 4d 61 67 4d |nuMsg "c|loseMagM|
|000047d0| 61 6b 65 72 22 0d 65 6c | 73 65 0d 70 75 74 20 74 |aker".el|se.put t|
|000047e0| 68 65 20 73 68 6f 72 74 | 20 69 64 20 6f 66 20 74 |he short| id of t|
|000047f0| 68 69 73 20 62 67 20 69 | 6e 74 6f 20 73 74 61 72 |his bg i|nto star|
|00004800| 74 49 64 0d 70 75 73 68 | 20 63 64 0d 72 65 70 65 |tId.push| cd.repe|
|00004810| 61 74 20 75 6e 74 69 6c | 20 74 68 65 20 6d 6f 75 |at until| the mou|
|00004820| 73 65 20 69 73 20 64 6f | 77 6e 0d 69 66 20 74 68 |se is do|wn.if th|
|00004830| 65 72 65 20 69 73 20 61 | 20 62 67 20 62 74 6e 20 |ere is a| bg btn |
|00004840| 22 54 68 65 54 6f 6f 6c | 42 74 6e 22 20 74 68 65 |"TheTool|Btn" the|
|00004850| 6e 20 73 68 6f 77 20 62 | 67 20 62 74 6e 20 22 54 |n show b|g btn "T|
|00004860| 68 65 54 6f 6f 6c 42 74 | 6e 22 0d 69 66 20 74 68 |heToolBt|n".if th|
|00004870| 65 72 65 20 69 73 20 61 | 20 62 67 20 62 74 6e 20 |ere is a| bg btn |
|00004880| 22 4c 6f 63 6b 50 61 67 | 65 22 20 74 68 65 6e 20 |"LockPag|e" then |
|00004890| 73 68 6f 77 20 62 67 20 | 62 74 6e 20 22 4c 6f 63 |show bg |btn "Loc|
|000048a0| 6b 50 61 67 65 22 0d 67 | 6f 20 6e 65 78 74 20 62 |kPage".g|o next b|
|000048b0| 67 0d 69 66 20 74 68 65 | 20 69 64 20 6f 66 20 74 |g.if the| id of t|
|000048c0| 68 69 73 20 62 67 20 69 | 73 20 73 74 61 72 74 49 |his bg i|s startI|
|000048d0| 64 20 74 68 65 6e 20 65 | 78 69 74 20 72 65 70 65 |d then e|xit repe|
|000048e0| 61 74 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 70 6f |at.end r|epeat.po|
|000048f0| 70 20 63 64 0d 6f 70 65 | 6e 73 74 61 63 6b 20 74 |p cd.ope|nstack t|
|00004900| 72 75 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |rue.if t|here is |
|00004910| 61 20 6d 65 6e 75 49 74 | 65 6d 20 22 4f 70 65 6e |a menuIt|em "Open|
|00004920| 20 4d 61 67 4d 61 6b 65 | 72 22 20 69 6e 20 6d 65 | MagMake|r" in me|
|00004930| 6e 75 20 22 4e 61 76 69 | 67 61 74 69 6f 6e 22 20 |nu "Navi|gation" |
|00004940| 74 68 65 6e 20 64 65 6c | 65 74 65 20 6d 65 6e 75 |then del|ete menu|
|00004950| 49 74 65 6d 20 22 4f 70 | 65 6e 20 4d 61 67 4d 61 |Item "Op|en MagMa|
|00004960| 6b 65 72 22 20 6f 66 20 | 6d 65 6e 75 20 22 4e 61 |ker" of |menu "Na|
|00004970| 76 69 67 61 74 69 6f 6e | 22 0d 65 6e 64 20 69 66 |vigation|".end if|
|00004980| 0d 65 6e 64 20 63 6c 6f | 73 65 4d 61 67 4d 61 6b |.end clo|seMagMak|
|00004990| 65 72 0d 0d 0d 2d 2d 20 | 46 69 6e 64 20 77 6f 72 |er...-- |Find wor|
|000049a0| 64 20 61 6e 64 20 73 74 | 72 69 6e 67 20 73 63 72 |d and st|ring scr|
|000049b0| 69 70 74 73 0d 0d 6f 6e | 20 66 69 6e 64 49 6e 73 |ipts..on| findIns|
|000049c0| 74 61 6e 63 65 73 0d 67 | 6c 6f 62 61 6c 20 66 69 |tances.g|lobal fi|
|000049d0| 6e 64 54 68 69 73 2c 66 | 69 6e 64 48 6f 77 2c 70 |ndThis,f|indHow,p|
|000049e0| 72 65 76 46 69 6e 64 2c | 61 6c 6c 4d 61 72 6b 65 |revFind,|allMarke|
|000049f0| 64 0d 75 6e 6d 61 72 6b | 20 61 6c 6c 20 63 61 72 |d.unmark| all car|
|00004a00| 64 73 0d 70 75 74 20 31 | 20 69 6e 74 6f 20 63 61 |ds.put 1| into ca|
|00004a10| 72 64 43 6f 75 6e 74 65 | 72 0d 70 75 74 20 30 20 |rdCounte|r.put 0 |
|00004a20| 69 6e 74 6f 20 69 6e 73 | 74 61 6e 63 65 43 6f 75 |into ins|tanceCou|
|00004a30| 6e 74 65 72 0d 61 73 6b | 20 22 45 6e 74 65 72 20 |nter.ask| "Enter |
|00004a40| 77 6f 72 64 20 6f 72 20 | 70 68 72 61 73 65 20 79 |word or |phrase y|
|00004a50| 6f 75 20 77 69 73 68 20 | 74 6f 20 73 65 61 72 63 |ou wish |to searc|
|00004a60| 68 20 66 6f 72 2e 22 20 | 77 69 74 68 20 66 69 6e |h for." |with fin|
|00004a70| 64 54 68 69 73 0d 69 66 | 20 74 68 65 20 72 65 73 |dThis.if| the res|
|00004a80| 75 6c 74 20 69 73 20 22 | 43 61 6e 63 65 6c 22 20 |ult is "|Cancel" |
|00004a90| 74 68 65 6e 0d 65 78 69 | 74 20 66 69 6e 64 49 6e |then.exi|t findIn|
|00004aa0| 73 74 61 6e 63 65 73 0d | 65 6e 64 20 69 66 0d 70 |stances.|end if.p|
|00004ab0| 75 74 20 74 68 65 20 73 | 68 6f 72 74 20 69 64 20 |ut the s|hort id |
|00004ac0| 6f 66 20 74 68 69 73 20 | 63 64 20 69 6e 74 6f 20 |of this |cd into |
|00004ad0| 70 75 73 68 65 64 43 64 | 0d 70 75 74 20 69 74 20 |pushedCd|.put it |
|00004ae0| 69 6e 74 6f 20 66 69 6e | 64 54 68 69 73 0d 6c 6f |into fin|dThis.lo|
|00004af0| 63 6b 20 73 63 72 65 65 | 6e 0d 6c 6f 63 6b 20 6d |ck scree|n.lock m|
|00004b00| 65 73 73 61 67 65 73 0d | 61 6e 73 77 65 72 20 22 |essages.|answer "|
|00004b10| 46 69 6e 64 20 73 74 72 | 69 6e 67 20 6d 61 74 63 |Find str|ing matc|
|00004b20| 68 20 6f 72 20 77 6f 72 | 64 20 6d 61 74 63 68 3f |h or wor|d match?|
|00004b30| 22 20 77 69 74 68 20 22 | 53 74 72 69 6e 67 22 20 |" with "|String" |
|00004b40| 6f 72 20 22 57 6f 72 64 | 22 0d 69 66 20 74 68 65 |or "Word|".if the|
|00004b50| 20 72 65 73 75 6c 74 20 | 69 73 20 22 43 61 6e 63 | result |is "Canc|
|00004b60| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 66 69 |el" then| exit fi|
|00004b70| 6e 64 49 6e 73 74 61 6e | 63 65 73 0d 69 66 20 69 |ndInstan|ces.if i|
|00004b80| 74 20 69 73 20 22 53 74 | 72 69 6e 67 22 20 74 68 |t is "St|ring" th|
|00004b90| 65 6e 20 70 75 74 20 22 | 73 74 72 69 6e 67 22 20 |en put "|string" |
|00004ba0| 69 6e 74 6f 20 66 69 6e | 64 48 6f 77 0d 65 6c 73 |into fin|dHow.els|
|00004bb0| 65 20 70 75 74 20 22 77 | 6f 72 64 22 20 69 6e 74 |e put "w|ord" int|
|00004bc0| 6f 20 66 69 6e 64 48 6f | 77 0d 61 6e 73 77 65 72 |o findHo|w.answer|
|00004bd0| 20 22 46 69 6e 64 20 74 | 68 65 20 6e 65 78 74 20 | "Find t|he next |
|00004be0| 69 6e 73 74 61 6e 63 65 | 20 6f 72 20 61 6c 6c 20 |instance| or all |
|00004bf0| 69 6e 73 74 61 6e 63 65 | 73 20 6f 66 20 22 20 26 |instance|s of " &|
|00004c00| 20 71 75 6f 74 65 20 26 | 20 66 69 6e 64 54 68 69 | quote &| findThi|
|00004c10| 73 20 26 20 71 75 6f 74 | 65 20 26 20 22 3f 22 20 |s & quot|e & "?" |
|00004c20| 77 69 74 68 20 22 4e 65 | 78 74 22 20 6f 72 20 22 |with "Ne|xt" or "|
|00004c30| 41 6c 6c 22 0d 69 66 20 | 69 74 20 69 73 20 22 4e |All".if |it is "N|
|00004c40| 65 78 74 22 20 74 68 65 | 6e 0d 75 6e 6c 6f 63 6b |ext" the|n.unlock|
|00004c50| 20 73 63 72 65 65 6e 0d | 66 69 6e 64 49 74 0d 65 | screen.|findIt.e|
|00004c60| 78 69 74 20 66 69 6e 64 | 49 6e 73 74 61 6e 63 65 |xit find|Instance|
|00004c70| 73 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 20 |s.end if|.if the |
|00004c80| 72 65 73 75 6c 74 20 69 | 73 20 22 43 61 6e 63 65 |result i|s "Cance|
|00004c90| 6c 22 20 74 68 65 6e 20 | 65 78 69 74 20 66 69 6e |l" then |exit fin|
|00004ca0| 64 49 6e 73 74 61 6e 63 | 65 73 0d 73 65 74 20 63 |dInstanc|es.set c|
|00004cb0| 75 72 73 6f 72 20 74 6f | 20 77 61 74 63 68 0d 75 |ursor to| watch.u|
|00004cc0| 6e 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 6c 6f 63 |nlock sc|reen.loc|
|00004cd0| 6b 20 73 63 72 65 65 6e | 0d 6d 61 72 6b 20 63 61 |k screen|.mark ca|
|00004ce0| 72 64 73 20 77 68 65 72 | 65 20 66 69 6e 64 54 68 |rds wher|e findTh|
|00004cf0| 69 73 20 69 73 20 69 6e | 20 66 6c 64 20 22 42 6f |is is in| fld "Bo|
|00004d00| 64 79 22 0d 69 66 20 74 | 68 65 20 6e 75 6d 62 65 |dy".if t|he numbe|
|00004d10| 72 20 6f 66 20 6d 61 72 | 6b 65 64 20 63 64 73 20 |r of mar|ked cds |
|00004d20| 3d 20 30 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |= 0 then|.answer |
|00004d30| 22 54 68 65 20 22 20 26 | 20 66 69 6e 64 48 6f 77 |"The " &| findHow|
|00004d40| 20 26 26 20 71 75 6f 74 | 65 20 26 20 66 69 6e 64 | && quot|e & find|
|00004d50| 54 68 69 73 20 26 20 71 | 75 6f 74 65 20 26 20 22 |This & q|uote & "|
|00004d60| 20 77 61 73 20 6e 6f 74 | 20 66 6f 75 6e 64 2e 22 | was not| found."|
|00004d70| 0d 65 78 69 74 20 66 69 | 6e 64 49 6e 73 74 61 6e |.exit fi|ndInstan|
|00004d80| 63 65 73 0d 65 6e 64 20 | 69 66 0d 67 6f 20 74 6f |ces.end |if.go to|
|00004d90| 20 66 69 72 73 74 20 6d | 61 72 6b 65 64 20 63 61 | first m|arked ca|
|00004da0| 72 64 0d 64 6f 20 22 66 | 69 6e 64 20 22 20 26 20 |rd.do "f|ind " & |
|00004db0| 66 69 6e 64 48 6f 77 20 | 26 26 20 71 75 6f 74 65 |findHow |&& quote|
|00004dc0| 20 26 20 66 69 6e 64 54 | 68 69 73 20 26 20 71 75 | & findT|his & qu|
|00004dd0| 6f 74 65 20 26 20 22 20 | 69 6e 20 66 6c 64 20 42 |ote & " |in fld B|
|00004de0| 6f 64 79 20 6f 66 20 6d | 61 72 6b 65 64 20 63 61 |ody of m|arked ca|
|00004df0| 72 64 73 22 0d 69 66 20 | 74 68 65 20 72 65 73 75 |rds".if |the resu|
|00004e00| 6c 74 20 69 73 20 6e 6f | 74 20 65 6d 70 74 79 20 |lt is no|t empty |
|00004e10| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 54 68 65 |then.ans|wer "The|
|00004e20| 20 22 20 26 20 66 69 6e | 64 48 6f 77 20 26 26 20 | " & fin|dHow && |
|00004e30| 71 75 6f 74 65 20 26 20 | 66 69 6e 64 54 68 69 73 |quote & |findThis|
|00004e40| 20 26 20 71 75 6f 74 65 | 20 26 20 22 20 77 61 73 | & quote| & " was|
|00004e50| 20 6e 6f 74 20 66 6f 75 | 6e 64 2e 22 0d 65 78 69 | not fou|nd.".exi|
|00004e60| 74 20 66 69 6e 64 49 6e | 73 74 61 6e 63 65 73 0d |t findIn|stances.|
|00004e70| 65 6c 73 65 0d 61 64 64 | 20 31 20 74 6f 20 69 6e |else.add| 1 to in|
|00004e80| 73 74 61 6e 63 65 43 6f | 75 6e 74 65 72 0d 70 75 |stanceCo|unter.pu|
|00004e90| 74 20 77 6f 72 64 20 32 | 20 6f 66 20 74 68 65 20 |t word 2| of the |
|00004ea0| 66 6f 75 6e 64 43 68 75 | 6e 6b 20 69 6e 74 6f 20 |foundChu|nk into |
|00004eb0| 72 65 70 65 61 74 54 65 | 73 74 0d 70 75 74 20 74 |repeatTe|st.put t|
|00004ec0| 68 65 20 73 68 6f 72 74 | 20 69 64 20 6f 66 20 74 |he short| id of t|
|00004ed0| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 66 69 72 73 |his cd i|nto firs|
|00004ee0| 74 43 61 72 64 0d 70 75 | 74 20 66 69 72 73 74 43 |tCard.pu|t firstC|
|00004ef0| 61 72 64 20 69 6e 74 6f | 20 68 6f 6c 64 49 64 0d |ard into| holdId.|
|00004f00| 65 6e 64 20 69 66 0d 72 | 65 70 65 61 74 0d 73 65 |end if.r|epeat.se|
|00004f10| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |t cursor| to busy|
|00004f20| 0d 64 6f 20 22 66 69 6e | 64 20 22 20 26 20 66 69 |.do "fin|d " & fi|
|00004f30| 6e 64 48 6f 77 20 26 26 | 20 71 75 6f 74 65 20 26 |ndHow &&| quote &|
|00004f40| 20 66 69 6e 64 54 68 69 | 73 20 26 20 71 75 6f 74 | findThi|s & quot|
|00004f50| 65 20 26 20 22 20 69 6e | 20 66 6c 64 20 42 6f 64 |e & " in| fld Bod|
|00004f60| 79 20 6f 66 20 6d 61 72 | 6b 65 64 20 63 61 72 64 |y of mar|ked card|
|00004f70| 73 22 0d 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 |s".if th|e short |
|00004f80| 69 64 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 73 |id of th|is cd is|
|00004f90| 20 6e 6f 74 20 68 6f 6c | 64 49 64 20 74 68 65 6e | not hol|dId then|
|00004fa0| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 69 |.put the| short i|
|00004fb0| 64 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 6e 74 |d of thi|s cd int|
|00004fc0| 6f 20 68 6f 6c 64 49 64 | 0d 70 75 74 20 65 6d 70 |o holdId|.put emp|
|00004fd0| 74 79 20 69 6e 74 6f 20 | 72 65 70 65 61 74 54 65 |ty into |repeatTe|
|00004fe0| 73 74 0d 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 |st.if th|e short |
|00004ff0| 69 64 20 6f 66 20 74 68 | 69 73 20 63 64 20 69 73 |id of th|is cd is|
|00005000| 20 66 69 72 73 74 43 61 | 72 64 20 74 68 65 6e 0d | firstCa|rd then.|
|00005010| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00005020| 69 66 0d 61 64 64 20 31 | 20 74 6f 20 69 6e 73 74 |if.add 1| to inst|
|00005030| 61 6e 63 65 43 6f 75 6e | 74 65 72 0d 61 64 64 20 |anceCoun|ter.add |
|00005040| 31 20 74 6f 20 63 61 72 | 64 43 6f 75 6e 74 65 72 |1 to car|dCounter|
|00005050| 0d 65 6c 73 65 0d 69 66 | 20 77 6f 72 64 20 32 20 |.else.if| word 2 |
|00005060| 6f 66 20 74 68 65 20 66 | 6f 75 6e 64 43 68 75 6e |of the f|oundChun|
|00005070| 6b 20 3c 20 72 65 70 65 | 61 74 54 65 73 74 20 74 |k < repe|atTest t|
|00005080| 68 65 6e 0d 6e 65 78 74 | 20 72 65 70 65 61 74 0d |hen.next| repeat.|
|00005090| 65 6e 64 20 69 66 0d 69 | 66 20 77 6f 72 64 20 32 |end if.i|f word 2|
|000050a0| 20 6f 66 20 74 68 65 20 | 66 6f 75 6e 64 43 68 75 | of the |foundChu|
|000050b0| 6e 6b 20 3d 20 72 65 70 | 65 61 74 54 65 73 74 20 |nk = rep|eatTest |
|000050c0| 74 68 65 6e 0d 65 78 69 | 74 20 72 65 70 65 61 74 |then.exi|t repeat|
|000050d0| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 77 6f 72 64 |.end if.|put word|
|000050e0| 20 32 20 6f 66 20 74 68 | 65 20 66 6f 75 6e 64 43 | 2 of th|e foundC|
|000050f0| 68 75 6e 6b 20 69 6e 74 | 6f 20 72 65 70 65 61 74 |hunk int|o repeat|
|00005100| 54 65 73 74 0d 61 64 64 | 20 31 20 74 6f 20 69 6e |Test.add| 1 to in|
|00005110| 73 74 61 6e 63 65 43 6f | 75 6e 74 65 72 0d 65 6e |stanceCo|unter.en|
|00005120| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00005130| 69 66 20 69 6e 73 74 61 | 6e 63 65 43 6f 75 6e 74 |if insta|nceCount|
|00005140| 65 72 20 3d 20 31 20 74 | 68 65 6e 20 70 75 74 20 |er = 1 t|hen put |
|00005150| 22 74 69 6d 65 22 20 69 | 6e 74 6f 20 68 6f 77 4d |"time" i|nto howM|
|00005160| 61 6e 79 0d 65 6c 73 65 | 20 70 75 74 20 22 74 69 |any.else| put "ti|
|00005170| 6d 65 73 22 20 69 6e 74 | 6f 20 68 6f 77 4d 61 6e |mes" int|o howMan|
|00005180| 79 0d 69 66 20 63 61 72 | 64 43 6f 75 6e 74 65 72 |y.if car|dCounter|
|00005190| 20 3d 20 31 20 74 68 65 | 6e 20 70 75 74 20 22 70 | = 1 the|n put "p|
|000051a0| 61 67 65 22 20 69 6e 74 | 6f 20 77 68 61 74 50 61 |age" int|o whatPa|
|000051b0| 67 65 73 0d 65 6c 73 65 | 20 70 75 74 20 22 70 61 |ges.else| put "pa|
|000051c0| 67 65 73 22 20 69 6e 74 | 6f 20 77 68 61 74 50 61 |ges" int|o whatPa|
|000051d0| 67 65 73 0d 61 6e 73 77 | 65 72 20 22 54 68 65 20 |ges.answ|er "The |
|000051e0| 22 20 26 20 66 69 6e 64 | 48 6f 77 20 26 26 20 71 |" & find|How && q|
|000051f0| 75 6f 74 65 20 26 20 66 | 69 6e 64 54 68 69 73 20 |uote & f|indThis |
|00005200| 26 20 71 75 6f 74 65 20 | 26 20 22 20 77 61 73 20 |& quote |& " was |
|00005210| 66 6f 75 6e 64 20 22 20 | 26 20 69 6e 73 74 61 6e |found " |& instan|
|00005220| 63 65 43 6f 75 6e 74 65 | 72 20 26 26 20 68 6f 77 |ceCounte|r && how|
|00005230| 4d 61 6e 79 20 26 20 22 | 20 6f 6e 20 22 20 26 20 |Many & "| on " & |
|00005240| 63 61 72 64 43 6f 75 6e | 74 65 72 20 26 26 20 77 |cardCoun|ter && w|
|00005250| 68 61 74 50 61 67 65 73 | 20 26 20 22 2e 20 22 20 |hatPages| & ". " |
|00005260| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 5f 5f |& return| & .."__|
|00005270| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005280| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00005290| 5f 5f 5f 5f 22 20 26 20 | 72 65 74 75 72 6e 20 26 |____" & |return &|
|000052a0| 20 22 44 6f 20 79 6f 75 | 20 77 61 6e 74 20 74 6f | "Do you| want to|
|000052b0| 20 6d 61 72 6b 20 74 68 | 65 20 66 6f 75 6e 64 20 | mark th|e found |
|000052c0| 22 20 26 20 77 68 61 74 | 50 61 67 65 73 20 26 20 |" & what|Pages & |
|000052d0| 22 20 6f 72 20 67 6f 20 | 74 6f 20 74 68 65 20 66 |" or go |to the f|
|000052e0| 69 72 73 74 20 69 6e 73 | 74 61 6e 63 65 20 6f 66 |irst ins|tance of|
|000052f0| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 66 69 6e | " & quo|te & fin|
|00005300| 64 54 68 69 73 20 26 20 | 71 75 6f 74 65 20 26 20 |dThis & |quote & |
|00005310| 22 3f 22 20 77 69 74 68 | 20 22 43 61 6e 63 65 6c |"?" with| "Cancel|
|00005320| 22 20 6f 72 20 22 4d 61 | 72 6b 22 20 6f 72 20 22 |" or "Ma|rk" or "|
|00005330| 47 6f 20 46 69 72 73 74 | 22 0d 69 66 20 69 74 20 |Go First|".if it |
|00005340| 69 73 20 22 43 61 6e 63 | 65 6c 22 20 6f 72 20 74 |is "Canc|el" or t|
|00005350| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 22 43 61 |he resul|t is "Ca|
|00005360| 6e 63 65 6c 22 20 74 68 | 65 6e 0d 75 6e 6c 6f 63 |ncel" th|en.unloc|
|00005370| 6b 20 6d 65 73 73 61 67 | 65 73 0d 67 6f 20 63 64 |k messag|es.go cd|
|00005380| 20 69 64 20 70 75 73 68 | 65 64 43 64 0d 64 6f 4e | id push|edCd.doN|
|00005390| 6f 74 68 69 6e 67 0d 65 | 78 69 74 20 66 69 6e 64 |othing.e|xit find|
|000053a0| 49 6e 73 74 61 6e 63 65 | 73 0d 65 6e 64 20 69 66 |Instance|s.end if|
|000053b0| 0d 69 66 20 69 74 20 69 | 73 20 22 4d 61 72 6b 22 |.if it i|s "Mark"|
|000053c0| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 41 70 | then.an|swer "Ap|
|000053d0| 70 65 6e 64 20 6f 72 20 | 75 6e 6d 61 72 6b 20 63 |pend or |unmark c|
|000053e0| 75 72 72 65 6e 74 6c 79 | 20 6d 61 72 6b 65 64 20 |urrently| marked |
|000053f0| 63 64 73 3f 22 20 77 69 | 74 68 20 22 41 70 70 65 |cds?" wi|th "Appe|
|00005400| 6e 64 22 20 6f 72 20 22 | 55 6e 6d 61 72 6b 22 0d |nd" or "|Unmark".|
|00005410| 69 66 20 69 74 20 69 73 | 20 22 55 6e 6d 61 72 6b |if it is| "Unmark|
|00005420| 22 20 74 68 65 6e 0d 75 | 6e 6c 6f 63 6b 20 73 63 |" then.u|nlock sc|
|00005430| 72 65 65 6e 0d 75 6e 6c | 6f 63 6b 20 6d 65 73 73 |reen.unl|ock mess|
|00005440| 61 67 65 73 0d 75 6e 4d | 61 72 6b 50 61 67 65 73 |ages.unM|arkPages|
|00005450| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 6c 6f 63 |.lock sc|reen.loc|
|00005460| 6b 20 6d 65 73 73 61 67 | 65 73 0d 6d 61 72 6b 20 |k messag|es.mark |
|00005470| 63 61 72 64 73 20 77 68 | 65 72 65 20 66 69 6e 64 |cards wh|ere find|
|00005480| 54 68 69 73 20 69 73 20 | 69 6e 20 66 6c 64 20 22 |This is |in fld "|
|00005490| 42 6f 64 79 22 0d 65 6e | 64 20 69 66 0d 75 6e 6c |Body".en|d if.unl|
|000054a0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 6c 6f 63 6b 20 |ock scre|en.lock |
|000054b0| 6d 65 73 73 61 67 65 73 | 0d 6c 6f 63 6b 20 73 63 |messages|.lock sc|
|000054c0| 72 65 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |reen.rep|eat with|
|000054d0| 20 78 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | x = 1 t|o the nu|
|000054e0| 6d 62 65 72 20 6f 66 20 | 6d 61 72 6b 65 64 20 63 |mber of |marked c|
|000054f0| 64 73 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |ds.set c|ursor to|
|00005500| 20 62 75 73 79 0d 67 6f | 20 6e 65 78 74 20 6d 61 | busy.go| next ma|
|00005510| 72 6b 65 64 20 63 64 0d | 70 75 74 20 74 68 65 20 |rked cd.|put the |
|00005520| 6e 75 6d 62 65 72 20 6f | 66 20 74 68 69 73 20 63 |number o|f this c|
|00005530| 64 20 26 20 72 65 74 75 | 72 6e 20 61 66 74 65 72 |d & retu|rn after|
|00005540| 20 61 6c 6c 4d 61 72 6b | 65 64 0d 73 65 74 20 74 | allMark|ed.set t|
|00005550| 68 65 20 68 69 67 68 6c | 69 67 68 74 20 6f 66 20 |he highl|ight of |
|00005560| 62 67 20 62 74 6e 20 22 | 4d 61 72 6b 65 72 22 20 |bg btn "|Marker" |
|00005570| 74 6f 20 74 72 75 65 0d | 65 6e 64 20 72 65 70 65 |to true.|end repe|
|00005580| 61 74 0d 70 75 74 20 61 | 6c 6c 4d 61 72 6b 65 64 |at.put a|llMarked|
|00005590| 20 69 6e 74 6f 20 66 6c | 64 20 22 4d 61 72 6b 65 | into fl|d "Marke|
|000055a0| 64 50 61 67 65 73 22 20 | 6f 66 20 63 64 20 22 54 |dPages" |of cd "T|
|000055b0| 61 62 6c 65 20 6f 66 20 | 43 6f 6e 74 65 6e 74 73 |able of |Contents|
|000055c0| 22 0d 73 6f 72 74 20 66 | 6c 64 20 22 4d 61 72 6b |".sort f|ld "Mark|
|000055d0| 65 64 50 61 67 65 73 22 | 20 6f 66 20 63 64 20 22 |edPages"| of cd "|
|000055e0| 54 61 62 6c 65 20 6f 66 | 20 43 6f 6e 74 65 6e 74 |Table of| Content|
|000055f0| 73 22 20 6e 75 6d 65 72 | 69 63 0d 65 6e 64 20 69 |s" numer|ic.end i|
|00005600| 66 0d 67 6f 20 66 69 72 | 73 74 20 6d 61 72 6b 65 |f.go fir|st marke|
|00005610| 64 20 63 64 0d 70 75 74 | 20 74 68 65 20 66 6f 75 |d cd.put| the fou|
|00005620| 6e 64 43 68 75 6e 6b 20 | 69 6e 74 6f 20 70 72 65 |ndChunk |into pre|
|00005630| 76 46 69 6e 64 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |vFind.un|lock scr|
|00005640| 65 65 6e 0d 77 61 69 74 | 20 31 35 0d 64 6f 4e 6f |een.wait| 15.doNo|
|00005650| 74 68 69 6e 67 0d 65 6e | 64 20 66 69 6e 64 49 6e |thing.en|d findIn|
|00005660| 73 74 61 6e 63 65 73 0d | 0d 6f 6e 20 64 6f 4e 6f |stances.|.on doNo|
|00005670| 74 68 69 6e 67 0d 6c 6f | 63 6b 20 73 63 72 65 65 |thing.lo|ck scree|
|00005680| 6e 0d 6c 6f 63 6b 20 6d | 65 73 73 61 67 65 73 0d |n.lock m|essages.|
|00005690| 67 6f 20 70 72 65 76 20 | 63 64 0d 67 6f 20 6e 65 |go prev |cd.go ne|
|000056a0| 78 74 20 63 64 0d 65 6e | 64 20 64 6f 4e 6f 74 68 |xt cd.en|d doNoth|
|000056b0| 69 6e 67 0d 0d 6f 6e 20 | 66 69 6e 64 49 74 0d 67 |ing..on |findIt.g|
|000056c0| 6c 6f 62 61 6c 20 66 69 | 6e 64 54 68 69 73 2c 66 |lobal fi|ndThis,f|
|000056d0| 69 6e 64 48 6f 77 2c 70 | 72 65 76 46 69 6e 64 2c |indHow,p|revFind,|
|000056e0| 63 75 72 43 64 0d 69 66 | 20 66 69 6e 64 54 68 69 |curCd.if| findThi|
|000056f0| 73 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |s is emp|ty then.|
|00005700| 61 73 6b 20 22 45 6e 74 | 65 72 20 77 6f 72 64 20 |ask "Ent|er word |
|00005710| 6f 72 20 70 68 72 61 73 | 65 20 79 6f 75 20 77 69 |or phras|e you wi|
|00005720| 73 68 20 74 6f 20 73 65 | 61 72 63 68 20 66 6f 72 |sh to se|arch for|
|00005730| 2e 22 20 77 69 74 68 20 | 66 69 6e 64 54 68 69 73 |." with |findThis|
|00005740| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 69 |.if the |result i|
|00005750| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 0d |s "Cance|l" then.|
|00005760| 65 78 69 74 20 66 69 6e | 64 49 74 0d 65 6e 64 20 |exit fin|dIt.end |
|00005770| 69 66 0d 70 75 74 20 69 | 74 20 69 6e 74 6f 20 66 |if.put i|t into f|
|00005780| 69 6e 64 54 68 69 73 0d | 61 6e 73 77 65 72 20 22 |indThis.|answer "|
|00005790| 46 69 6e 64 20 73 74 72 | 69 6e 67 20 6d 61 74 63 |Find str|ing matc|
|000057a0| 68 20 6f 72 20 77 6f 72 | 64 20 6d 61 74 63 68 3f |h or wor|d match?|
|000057b0| 22 20 77 69 74 68 20 22 | 53 74 72 69 6e 67 22 20 |" with "|String" |
|000057c0| 6f 72 20 22 57 6f 72 64 | 22 0d 69 66 20 74 68 65 |or "Word|".if the|
|000057d0| 20 72 65 73 75 6c 74 20 | 69 73 20 22 43 61 6e 63 | result |is "Canc|
|000057e0| 65 6c 22 20 74 68 65 6e | 20 65 78 69 74 20 66 69 |el" then| exit fi|
|000057f0| 6e 64 49 74 0d 69 66 20 | 69 74 20 69 73 20 22 53 |ndIt.if |it is "S|
|00005800| 74 72 69 6e 67 22 20 74 | 68 65 6e 20 70 75 74 20 |tring" t|hen put |
|00005810| 22 73 74 72 69 6e 67 22 | 20 69 6e 74 6f 20 66 69 |"string"| into fi|
|00005820| 6e 64 48 6f 77 0d 65 6c | 73 65 20 70 75 74 20 22 |ndHow.el|se put "|
|00005830| 77 6f 72 64 22 20 69 6e | 74 6f 20 66 69 6e 64 48 |word" in|to findH|
|00005840| 6f 77 0d 65 6e 64 20 69 | 66 0d 69 66 20 66 69 6e |ow.end i|f.if fin|
|00005850| 64 48 6f 77 20 69 73 20 | 65 6d 70 74 79 20 74 68 |dHow is |empty th|
|00005860| 65 6e 20 70 75 74 20 22 | 73 74 72 69 6e 67 22 20 |en put "|string" |
|00005870| 69 6e 74 6f 20 66 69 6e | 64 48 6f 77 0d 6c 6f 63 |into fin|dHow.loc|
|00005880| 6b 20 73 63 72 65 65 6e | 0d 6c 6f 63 6b 20 6d 65 |k screen|.lock me|
|00005890| 73 73 61 67 65 73 0d 70 | 75 74 20 74 68 65 20 73 |ssages.p|ut the s|
|000058a0| 68 6f 72 74 20 69 64 20 | 6f 66 20 74 68 69 73 20 |hort id |of this |
|000058b0| 63 64 20 69 6e 74 6f 20 | 63 75 72 43 64 0d 69 66 |cd into |curCd.if|
|000058c0| 20 66 69 6e 64 54 68 69 | 73 20 69 73 20 6e 6f 74 | findThi|s is not|
|000058d0| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 64 6f 20 22 | empty t|hen.do "|
|000058e0| 66 69 6e 64 20 22 20 26 | 20 66 69 6e 64 48 6f 77 |find " &| findHow|
|000058f0| 20 26 26 20 71 75 6f 74 | 65 20 26 20 66 69 6e 64 | && quot|e & find|
|00005900| 54 68 69 73 20 26 20 71 | 75 6f 74 65 20 26 20 22 |This & q|uote & "|
|00005910| 20 69 6e 20 66 6c 64 20 | 42 6f 64 79 22 0d 69 66 | in fld |Body".if|
|00005920| 20 74 68 65 20 72 65 73 | 75 6c 74 20 69 73 20 6e | the res|ult is n|
|00005930| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 75 6e |ot empty| then.un|
|00005940| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 61 6e 73 77 |lock scr|een.answ|
|00005950| 65 72 20 22 54 68 65 20 | 77 6f 72 64 20 6f 72 20 |er "The |word or |
|00005960| 70 68 72 61 73 65 20 22 | 20 26 20 71 75 6f 74 65 |phrase "| & quote|
|00005970| 20 26 20 66 69 6e 64 54 | 68 69 73 20 26 20 71 75 | & findT|his & qu|
|00005980| 6f 74 65 20 26 20 22 20 | 77 61 73 20 6e 6f 74 20 |ote & " |was not |
|00005990| 66 6f 75 6e 64 2e 22 0d | 65 78 69 74 20 66 69 6e |found.".|exit fin|
|000059a0| 64 49 74 0d 65 6e 64 20 | 69 66 0d 72 65 70 65 61 |dIt.end |if.repea|
|000059b0| 74 0d 69 66 20 74 68 65 | 20 66 6f 75 6e 64 43 68 |t.if the| foundCh|
|000059c0| 75 6e 6b 20 69 73 20 69 | 6e 20 70 72 65 76 46 69 |unk is i|n prevFi|
|000059d0| 6e 64 20 74 68 65 6e 0d | 64 6f 20 22 66 69 6e 64 |nd then.|do "find|
|000059e0| 20 22 20 26 20 66 69 6e | 64 48 6f 77 20 26 26 20 | " & fin|dHow && |
|000059f0| 71 75 6f 74 65 20 26 20 | 66 69 6e 64 54 68 69 73 |quote & |findThis|
|00005a00| 20 26 20 71 75 6f 74 65 | 20 26 20 22 20 69 6e 20 | & quote| & " in |
|00005a10| 66 6c 64 20 42 6f 64 79 | 22 0d 69 66 20 77 6f 72 |fld Body|".if wor|
|00005a20| 64 20 32 20 6f 66 20 74 | 68 65 20 66 6f 75 6e 64 |d 2 of t|he found|
|00005a30| 43 68 75 6e 6b 20 3c 3d | 20 77 6f 72 64 20 32 20 |Chunk <=| word 2 |
|00005a40| 6f 66 20 74 68 65 20 66 | 69 72 73 74 20 69 74 65 |of the f|irst ite|
|00005a50| 6d 20 6f 66 20 70 72 65 | 76 46 69 6e 64 20 61 6e |m of pre|vFind an|
|00005a60| 64 20 74 68 65 20 73 68 | 6f 72 74 20 69 64 20 6f |d the sh|ort id o|
|00005a70| 66 20 74 68 69 73 20 63 | 64 20 69 73 20 63 75 72 |f this c|d is cur|
|00005a80| 43 64 20 74 68 65 6e 0d | 70 75 74 20 65 6d 70 74 |Cd then.|put empt|
|00005a90| 79 20 69 6e 74 6f 20 70 | 72 65 76 46 69 6e 64 0d |y into p|revFind.|
|00005aa0| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00005ab0| 69 66 0d 65 6c 73 65 0d | 69 66 20 74 68 65 20 73 |if.else.|if the s|
|00005ac0| 68 6f 72 74 20 69 64 20 | 6f 66 20 74 68 69 73 20 |hort id |of this |
|00005ad0| 63 64 20 69 73 20 6e 6f | 74 20 63 75 72 43 64 20 |cd is no|t curCd |
|00005ae0| 74 68 65 6e 20 70 75 74 | 20 65 6d 70 74 79 20 69 |then put| empty i|
|00005af0| 6e 74 6f 20 70 72 65 76 | 46 69 6e 64 0d 65 78 69 |nto prev|Find.exi|
|00005b00| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00005b10| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 74 |end repe|at.put t|
|00005b20| 68 65 20 66 6f 75 6e 64 | 43 68 75 6e 6b 20 26 20 |he found|Chunk & |
|00005b30| 22 2c 22 20 61 66 74 65 | 72 20 70 72 65 76 46 69 |"," afte|r prevFi|
|00005b40| 6e 64 0d 65 6e 64 20 69 | 66 0d 75 6e 6c 6f 63 6b |nd.end i|f.unlock|
|00005b50| 20 73 63 72 65 65 6e 0d | 77 61 69 74 20 31 35 0d | screen.|wait 15.|
|00005b60| 64 6f 4e 6f 74 68 69 6e | 67 0d 65 6e 64 20 66 69 |doNothin|g.end fi|
|00005b70| 6e 64 49 74 0d 0d 2d 2d | 20 4d 61 67 4d 61 6b 65 |ndIt..--| MagMake|
|00005b80| 72 20 4d 75 73 69 63 4d | 61 67 20 41 70 70 65 6e |r MusicM|ag Appen|
|00005b90| 64 69 78 0d 6f 6e 20 63 | 72 65 61 74 65 43 6f 6e |dix.on c|reateCon|
|00005ba0| 74 65 6e 74 73 0d 69 66 | 20 74 68 65 20 72 65 63 |tents.if| the rec|
|00005bb0| 74 20 6f 66 20 74 68 69 | 73 20 63 64 20 69 73 20 |t of thi|s cd is |
|00005bc0| 6e 6f 74 20 22 30 2c 30 | 2c 33 38 34 2c 33 34 34 |not "0,0|,384,344|
|00005bd0| 22 20 74 68 65 6e 20 70 | 61 73 73 20 63 72 65 61 |" then p|ass crea|
|00005be0| 74 65 43 6f 6e 74 65 6e | 74 73 0d 69 66 20 74 6f |teConten|ts.if to|
|00005bf0| 6f 6c 73 53 74 61 63 6b | 28 29 20 74 68 65 6e 20 |olsStack|() then |
|00005c00| 65 78 69 74 20 63 72 65 | 61 74 65 43 6f 6e 74 65 |exit cre|ateConte|
|00005c10| 6e 74 73 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 0d |nts.lock| screen.|
|00005c20| 6c 6f 63 6b 20 6d 65 73 | 73 61 67 65 73 0d 69 66 |lock mes|sages.if|
|00005c30| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00005c40| 6f 77 20 28 69 74 65 6d | 20 31 20 6f 66 20 66 6c |ow (item| 1 of fl|
|00005c50| 64 20 22 50 69 63 74 54 | 68 69 73 50 61 67 65 22 |d "PictT|hisPage"|
|00005c60| 29 20 74 68 65 6e 0d 63 | 6c 6f 73 65 20 77 69 6e |) then.c|lose win|
|00005c70| 64 6f 77 20 28 69 74 65 | 6d 20 31 20 6f 66 20 66 |dow (ite|m 1 of f|
|00005c80| 6c 64 20 22 50 69 63 74 | 54 68 69 73 50 61 67 65 |ld "Pict|ThisPage|
|00005c90| 22 29 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 65 6d |").end i|f.put em|
|00005ca0| 70 74 79 20 69 6e 74 6f | 20 6f 6c 64 43 68 61 70 |pty into| oldChap|
|00005cb0| 4e 61 6d 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |Name.rep|eat with|
|00005cc0| 20 78 20 3d 20 31 20 74 | 6f 20 28 74 68 65 20 6e | x = 1 t|o (the n|
|00005cd0| 75 6d 62 65 72 20 6f 66 | 20 63 64 73 20 6f 66 20 |umber of| cds of |
|00005ce0| 74 68 69 73 20 73 74 61 | 63 6b 29 0d 67 6f 20 63 |this sta|ck).go c|
|00005cf0| 64 20 78 0d 69 66 20 66 | 6c 64 20 22 41 72 74 69 |d x.if f|ld "Arti|
|00005d00| 63 6c 65 4e 61 6d 65 22 | 20 69 73 20 65 6d 74 70 |cleName"| is emtp|
|00005d10| 79 20 6f 72 20 66 6c 64 | 20 22 41 72 74 69 63 6c |y or fld| "Articl|
|00005d20| 65 4e 61 6d 65 22 20 69 | 73 20 22 22 20 6f 72 20 |eName" i|s "" or |
|00005d30| 66 6c 64 20 22 41 72 74 | 69 63 6c 65 4e 61 6d 65 |fld "Art|icleName|
|00005d40| 22 20 69 73 20 22 54 61 | 62 6c 65 20 6f 66 20 43 |" is "Ta|ble of C|
|00005d50| 6f 6e 74 65 6e 74 73 22 | 20 74 68 65 6e 20 6e 65 |ontents"| then ne|
|00005d60| 78 74 20 72 65 70 65 61 | 74 0d 70 75 74 20 66 6c |xt repea|t.put fl|
|00005d70| 64 20 22 41 72 74 69 63 | 6c 65 4e 61 6d 65 22 20 |d "Artic|leName" |
|00005d80| 69 6e 74 6f 20 6e 65 77 | 43 68 61 70 4e 61 6d 65 |into new|ChapName|
|00005d90| 0d 69 66 20 6e 65 77 43 | 68 61 70 4e 61 6d 65 20 |.if newC|hapName |
|00005da0| ad 20 6f 6c 64 43 68 61 | 70 4e 61 6d 65 20 74 68 |. oldCha|pName th|
|00005db0| 65 6e 0d 69 66 20 6f 6c | 64 43 68 61 70 4e 61 6d |en.if ol|dChapNam|
|00005dc0| 65 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |e is not| empty t|
|00005dd0| 68 65 6e 0d 70 75 74 20 | 6f 6c 64 43 68 61 70 4e |hen.put |oldChapN|
|00005de0| 61 6d 65 20 26 20 72 65 | 74 75 72 6e 20 61 66 74 |ame & re|turn aft|
|00005df0| 65 72 20 63 68 61 70 4e | 61 6d 65 73 0d 70 75 74 |er chapN|ames.put|
|00005e00| 20 6f 6c 64 50 61 67 65 | 4e 75 6d 20 26 20 72 65 | oldPage|Num & re|
|00005e10| 74 75 72 6e 20 61 66 74 | 65 72 20 70 61 67 65 4e |turn aft|er pageN|
|00005e20| 75 6d 73 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 6e |ums.end |if.put n|
|00005e30| 65 77 43 68 61 70 4e 61 | 6d 65 20 69 6e 74 6f 20 |ewChapNa|me into |
|00005e40| 6f 6c 64 43 68 61 70 4e | 61 6d 65 0d 70 75 74 20 |oldChapN|ame.put |
|00005e50| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |the numb|er of th|
|00005e60| 69 73 20 63 64 20 69 6e | 74 6f 20 6f 6c 64 50 61 |is cd in|to oldPa|
|00005e70| 67 65 4e 75 6d 0d 65 6e | 64 20 69 66 0d 65 6e 64 |geNum.en|d if.end|
|00005e80| 20 72 65 70 65 61 74 0d | 70 75 74 20 6f 6c 64 43 | repeat.|put oldC|
|00005e90| 68 61 70 4e 61 6d 65 20 | 26 20 72 65 74 75 72 6e |hapName |& return|
|00005ea0| 20 61 66 74 65 72 20 63 | 68 61 70 4e 61 6d 65 73 | after c|hapNames|
|00005eb0| 0d 70 75 74 20 6f 6c 64 | 50 61 67 65 4e 75 6d 20 |.put old|PageNum |
|00005ec0| 26 20 72 65 74 75 72 6e | 20 61 66 74 65 72 20 70 |& return| after p|
|00005ed0| 61 67 65 4e 75 6d 73 0d | 61 72 74 69 63 6c 65 43 |ageNums.|articleC|
|00005ee0| 6f 75 6e 74 20 63 68 61 | 70 4e 61 6d 65 73 2c 70 |ount cha|pNames,p|
|00005ef0| 61 67 65 4e 75 6d 73 0d | 65 6e 64 20 63 72 65 61 |ageNums.|end crea|
|00005f00| 74 65 43 6f 6e 74 65 6e | 74 73 0d 0d 6f 6e 20 61 |teConten|ts..on a|
|00005f10| 72 74 69 63 6c 65 43 6f | 75 6e 74 20 63 68 61 70 |rticleCo|unt chap|
|00005f20| 4e 61 6d 65 73 2c 70 61 | 67 65 4e 75 6d 73 0d 69 |Names,pa|geNums.i|
|00005f30| 66 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 74 68 |f the re|ct of th|
|00005f40| 69 73 20 63 64 20 69 73 | 20 6e 6f 74 20 22 30 2c |is cd is| not "0,|
|00005f50| 30 2c 33 38 34 2c 33 34 | 34 22 20 74 68 65 6e 20 |0,384,34|4" then |
|00005f60| 70 61 73 73 20 61 72 74 | 69 63 6c 65 43 6f 75 6e |pass art|icleCoun|
|00005f70| 74 0d 70 75 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |t.put th|e number|
|00005f80| 20 6f 66 20 6c 69 6e 65 | 73 20 6f 66 20 63 68 61 | of line|s of cha|
|00005f90| 70 4e 61 6d 65 73 20 69 | 6e 74 6f 20 6c 69 6e 65 |pNames i|nto line|
|00005fa0| 73 0d 69 66 20 6c 69 6e | 65 73 20 3c 20 39 20 74 |s.if lin|es < 9 t|
|00005fb0| 68 65 6e 0d 70 75 74 20 | 31 20 69 6e 74 6f 20 63 |hen.put |1 into c|
|00005fc0| 6f 6c 73 0d 70 75 74 20 | 32 30 20 69 6e 74 6f 20 |ols.put |20 into |
|00005fd0| 68 65 69 67 68 74 0d 70 | 75 74 20 31 32 20 69 6e |height.p|ut 12 in|
|00005fe0| 74 6f 20 73 69 7a 65 0d | 65 6e 64 20 69 66 0d 69 |to size.|end if.i|
|00005ff0| 66 20 6c 69 6e 65 73 20 | 3e 20 38 20 74 68 65 6e |f lines |> 8 then|
|00006000| 0d 70 75 74 20 31 36 20 | 69 6e 74 6f 20 68 65 69 |.put 16 |into hei|
|00006010| 67 68 74 0d 70 75 74 20 | 31 30 20 69 6e 74 6f 20 |ght.put |10 into |
|00006020| 73 69 7a 65 0d 65 6e 64 | 20 69 66 0d 69 66 20 6c |size.end| if.if l|
|00006030| 69 6e 65 73 20 3e 20 31 | 38 20 74 68 65 6e 0d 61 |ines > 1|8 then.a|
|00006040| 6e 73 77 65 72 20 22 54 | 68 65 72 65 20 61 72 65 |nswer "T|here are|
|00006050| 20 74 6f 6f 20 6d 61 6e | 79 20 61 72 74 69 63 6c | too man|y articl|
|00006060| 65 73 20 74 6f 20 66 69 | 74 20 69 6e 20 74 68 65 |es to fi|t in the|
|00006070| 20 54 61 62 6c 65 20 6f | 66 20 43 6f 6e 74 65 6e | Table o|f Conten|
|00006080| 74 73 2e 20 53 6f 6d 65 | 20 77 69 6c 6c 20 6e 6f |ts. Some| will no|
|00006090| 74 20 61 70 70 65 61 72 | 2e 22 0d 65 6e 64 20 69 |t appear|.".end i|
|000060a0| 66 0d 6d 61 6b 65 54 61 | 62 6c 65 20 63 68 61 70 |f.makeTa|ble chap|
|000060b0| 4e 61 6d 65 73 2c 70 61 | 67 65 4e 75 6d 73 2c 6c |Names,pa|geNums,l|
|000060c0| 69 6e 65 73 2c 63 6f 6c | 73 2c 73 69 7a 65 2c 68 |ines,col|s,size,h|
|000060d0| 65 69 67 68 74 2c 77 61 | 72 6e 69 6e 67 0d 65 6e |eight,wa|rning.en|
|000060e0| 64 20 61 72 74 69 63 6c | 65 43 6f 75 6e 74 0d 0d |d articl|eCount..|
|000060f0| 0d 6f 6e 20 6d 61 6b 65 | 54 61 62 6c 65 20 63 68 |.on make|Table ch|
|00006100| 61 70 4e 61 6d 65 73 2c | 70 61 67 65 4e 75 6d 73 |apNames,|pageNums|
|00006110| 2c 6c 69 6e 65 73 2c 63 | 6f 6c 73 2c 73 69 7a 65 |,lines,c|ols,size|
|00006120| 2c 68 65 69 67 68 74 2c | 77 61 72 6e 69 6e 67 0d |,height,|warning.|
|00006130| 69 66 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 74 |if the r|ect of t|
|00006140| 68 69 73 20 63 64 20 69 | 73 20 6e 6f 74 20 22 30 |his cd i|s not "0|
|00006150| 2c 30 2c 33 38 34 2c 33 | 34 34 22 20 74 68 65 6e |,0,384,3|44" then|
|00006160| 20 70 61 73 73 20 6d 61 | 6b 65 54 61 62 6c 65 0d | pass ma|keTable.|
|00006170| 67 6f 20 63 64 20 22 54 | 61 62 6c 65 20 6f 66 20 |go cd "T|able of |
|00006180| 43 6f 6e 74 65 6e 74 73 | 22 0d 70 75 74 20 22 54 |Contents|".put "T|
|00006190| 61 62 6c 65 31 2c 50 61 | 67 65 31 22 20 69 6e 74 |able1,Pa|ge1" int|
|000061a0| 6f 20 66 6c 64 49 74 65 | 6d 73 0d 72 65 70 65 61 |o fldIte|ms.repea|
|000061b0| 74 20 77 69 74 68 20 79 | 20 3d 20 31 20 74 6f 20 |t with y| = 1 to |
|000061c0| 28 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 69 |(the num|ber of i|
|000061d0| 74 65 6d 73 20 6f 66 20 | 66 6c 64 49 74 65 6d 73 |tems of |fldItems|
|000061e0| 29 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |).put em|pty into|
|000061f0| 20 63 64 20 66 6c 64 20 | 28 69 74 65 6d 20 79 20 | cd fld |(item y |
|00006200| 6f 66 20 66 6c 64 49 74 | 65 6d 73 29 0d 65 6e 64 |of fldIt|ems).end|
|00006210| 20 72 65 70 65 61 74 0d | 73 65 74 20 74 68 65 20 | repeat.|set the |
|00006220| 72 65 63 74 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |rect of |cd fld "|
|00006230| 54 61 62 6c 65 31 22 20 | 74 6f 20 22 38 33 2c 35 |Table1" |to "83,5|
|00006240| 39 2c 33 34 37 2c 32 39 | 33 22 0d 73 65 74 20 74 |9,347,29|3".set t|
|00006250| 68 65 20 72 65 63 74 20 | 6f 66 20 63 64 20 66 6c |he rect |of cd fl|
|00006260| 64 20 22 50 61 67 65 31 | 22 20 74 6f 20 22 33 34 |d "Page1|" to "34|
|00006270| 38 2c 35 39 2c 33 38 31 | 2c 32 39 33 22 0d 72 65 |8,59,381|,293".re|
|00006280| 70 65 61 74 20 77 69 74 | 68 20 79 20 3d 20 31 20 |peat wit|h y = 1 |
|00006290| 74 6f 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |to (the |number o|
|000062a0| 66 20 69 74 65 6d 73 20 | 6f 66 20 66 6c 64 49 74 |f items |of fldIt|
|000062b0| 65 6d 73 29 0d 73 65 74 | 20 74 68 65 20 74 65 78 |ems).set| the tex|
|000062c0| 74 53 69 7a 65 20 6f 66 | 20 63 64 20 66 6c 64 20 |tSize of| cd fld |
|000062d0| 28 69 74 65 6d 20 79 20 | 6f 66 20 66 6c 64 49 74 |(item y |of fldIt|
|000062e0| 65 6d 73 29 20 74 6f 20 | 73 69 7a 65 0d 73 65 74 |ems) to |size.set|
|000062f0| 20 74 68 65 20 74 65 78 | 74 48 65 69 67 68 74 20 | the tex|tHeight |
|00006300| 6f 66 20 63 64 20 66 6c | 64 20 28 69 74 65 6d 20 |of cd fl|d (item |
|00006310| 79 20 6f 66 20 66 6c 64 | 49 74 65 6d 73 29 20 74 |y of fld|Items) t|
|00006320| 6f 20 68 65 69 67 68 74 | 0d 65 6e 64 20 72 65 70 |o height|.end rep|
|00006330| 65 61 74 0d 70 75 74 20 | 63 68 61 70 4e 61 6d 65 |eat.put |chapName|
|00006340| 73 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 54 |s into c|d fld "T|
|00006350| 61 62 6c 65 31 22 0d 70 | 75 74 20 70 61 67 65 4e |able1".p|ut pageN|
|00006360| 75 6d 73 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |ums into| cd fld |
|00006370| 22 50 61 67 65 31 22 0d | 65 6e 64 20 6d 61 6b 65 |"Page1".|end make|
|00006380| 54 61 62 6c 65 0d 0d 6f | 6e 20 70 6c 61 79 54 68 |Table..o|n playTh|
|00006390| 69 73 43 64 0d 2d 2d 20 | 67 65 6e 65 72 69 63 20 |isCd.-- |generic |
|000063a0| 70 6c 61 79 0d 65 6e 64 | 20 70 6c 61 79 54 68 69 |play.end| playThi|
|000063b0| 73 43 64 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |sCd.....|........|
|000063c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.